| Thread | Last Post | Replies |
|
| Accessor Methods | 18 Jun 2006 05:35 GMT | 22 |
Am a newbie to Java Programming and am studying Accessor Methods. If you designate variables as "private", then you can change their values using "accessor methods". So what's the point of making them "private" if you can still manipulate them using accessor methods.
|
| Singletons? | 17 Jun 2006 11:12 GMT | 24 |
I'm trying out some new Java code. I was surprised to find that Java doesn't allow the static keyword for classes. How was I to implement singleton objects then? Well, a quick web search and I've got the answer, but now I have a few other questions on the JVM and compiler.
|
| Help with ResourceBundle (JasperReports) | 16 Jun 2006 22:04 GMT | 1 |
(Note: This is for a Tomcat web application) I'd like to have my report files in my WEB-INF/reports directory, separate from my main java classes (which are in WEB-INF/classes). Each report gets 2 properties files for it, a Spanish and English one.
|
| Tables In Java | 16 Jun 2006 03:25 GMT | 1 |
I was wondering if someone can help me out here please. I am creating a JTable and displaying it in a window but it gives me Array Out Of Bounds Exception. The code is as follows Object[][] data = {
|
| Servlet init | 15 Jun 2006 21:20 GMT | 4 |
The init method for a servlet is as follows: public void init(){ try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
|
| how to implement class in java | 15 Jun 2006 20:37 GMT | 2 |
I must to implement class for credit card. How will do that. To put in the card to put the number and to put out the card. How will program that in JAVA?
|
| Text Selection | 14 Jun 2006 23:42 GMT | 2 |
Hi i'm trying to make a button's action method perform a 'delete' on some text in a JTextArea(). The idea is that I do this textArea.setText(textArea.getText(0,textArea.getSelectionStart) + "" + textArea.getText(textArea.getSelectionEnd,textArea.getDocument.getLength());
|
| Creating a Package is making my brain hurt! | 14 Jun 2006 20:44 GMT | 2 |
This is VERY "newby" of me, I know, but I just can't seem to get my head around this. I'm trying to create a VERY simple two class test application that uses "package bank;"
|
| Terms :) | 14 Jun 2006 20:09 GMT | 2 |
What is a servlet? How does it relate to Java Beans.. and many other terms I don't remember Where can I find the most complete definitions of the technologies Java encompass?
|
| hashcode values | 14 Jun 2006 15:21 GMT | 18 |
I create a string of color codes (which are just int values) and store the hash code as the key in a Hashtable. [code] str = new String("" + aColor + "," + anotherColor + "," +
|
| sudoku | 14 Jun 2006 15:19 GMT | 18 |
The rules are: " Fill in the grid so that every row, every column, and every 3x3 box contains the digits 1 through 9. " <http://www.sudoku.com/>
|
| GUI not updating | 13 Jun 2006 23:56 GMT | 6 |
At some point, my JRE apparently stopped updating the GUI correctly. Both previously-working apps and new ones suffer from this problem. For example, here's a SSCCE: import java.awt.*;
|
| General Java help- newbie | 13 Jun 2006 23:02 GMT | 2 |
Sorry to ask such rudimentary stuff but I'm stuck and don't know Java. We're floating a web version of software previously installed as a client. The application is installed and runs except for a snafu which is we don't use the same database as the authors, so we need a ...
|
| Total not displaying in JTextArea | 13 Jun 2006 21:08 GMT | 4 |
I am getting an error that I think means that the total can not find the text area that it needs to display. The error reads; java:180: cannot find symbol symbol : variable totalJTextArea
|
| Rectangle Collision Testing | 13 Jun 2006 17:59 GMT | 9 |
Ok, I wouldn't be posting this unless I've spent a rediculous amount of time trying to solve it...but here goes: I've been developing a game for a class I'm taking in java. The game uses an Entity class that I created, which is basically a simple object
|