Forum: Java Apr 12th, 2008 |
| Replies: 4 Views: 5,718 Jens,
With a slight change, my project now works beautifully. Thank you very much for your help. I thought the package statement would eliminate the need for the declarations you suggested, but it... |
Forum: Java Apr 12th, 2008 |
| Replies: 4 Views: 5,718 Jens,
Thank you for your help. I followed your suggestion and added a declaration to each class directly after the class declaration. The program now compiles without any errors, but when I run... |
Forum: Java Apr 12th, 2008 |
| Replies: 4 Views: 5,718 The following four classes are an attempt to set up three different JFrames and switch between them. The three frames are: MainView, DetailView, and FormView. The main class is... |
Forum: Java Jan 13th, 2008 |
| Replies: 6 Views: 2,747 Thank you.
The revised code compiles successfully.
I will now try queries to the database. |
Forum: Java Jan 13th, 2008 |
| Replies: 6 Views: 2,747 Thank you for the suggestion.
I commented out Line 8 and that eliminated the two compiling errors.
However, I now have another compiling error:
C:\Documents and Settings\J. Seader\Desktop\Java... |
Forum: Java Jan 12th, 2008 |
| Replies: 6 Views: 2,747 I'm not clear as to what is the first method. I thought that I had a Try-Catch block for each method. Can you tell me how to modify my code to make it compile.
Thank you. |
Forum: Java Jan 12th, 2008 |
| Replies: 6 Views: 2,747 I need to query a database on a server. As a first step, I have written the following Java code to just make sure I can access the database. I thought that the Try-Catch blocks would take care of... |
Forum: Java Dec 15th, 2007 |
| Replies: 16 Views: 6,481 Thank you for this suggestion. I am beginning to see the wisdom in that. |
Forum: Java Dec 14th, 2007 |
| Replies: 16 Views: 6,481 Thank you very much for your prompt and very useful reply. I un-nested the Controller and MainView Classes in FrameExample. I also removed the word, "static" in lines 22 and 42 of the posted code. ... |
Forum: Java Dec 14th, 2007 |
| Replies: 16 Views: 6,481 I am still getting errors with the Controller class when I try to build the project in NetBeans 6.0.
The Project consists of two Source files made from the single source file posted above.
The... |
Forum: Java Dec 13th, 2007 |
| Replies: 16 Views: 6,481 I did not put the two files in a package. Therefore, I did add import statements to the second file. The two source files were together in a project. The problem seems to be related to Controller... |
Forum: Java Dec 13th, 2007 |
| Replies: 16 Views: 6,481 Yes, I did notice the static inner classes. However, when I separated the file into two files, I was unable to eliminate the Controller errors.
I would appreciate any help, advice, or code you... |
Forum: Java Dec 13th, 2007 |
| Replies: 16 Views: 6,481 The java program I am planning will display a number of windows, maybe 12, by clicking on a button in one window to move to another window. I believe I should have a separate Java file for each... |
Forum: Java Dec 4th, 2007 |
| Replies: 16 Views: 6,481 Thank you very much for the FrameExample.java code. It works very well and has provided an excellent start for what I need to do. I like the use of the Controller. Can you tell me why the hash map... |
Forum: Java Dec 2nd, 2007 |
| Replies: 16 Views: 6,481 I have written many FORTRAN codes, but am new to Java, which I find much more powerful and more difficult.
I have a program that was written several years ago in MS Access.
The program consists of... |