| Thread | Last Post | Replies |
|
| working with packages | 29 Feb 2004 23:40 GMT | 4 |
I'm trying to organize my classes in packages, but I'm running into a problem where I can't seem to reference a class which is higher or at the same level of the package hierarchy. I can only reference a class when it is lower in the hierarchy.
|
| JButton prob :os | 29 Feb 2004 17:40 GMT | 5 |
It must because I'm tired... It's so a dummy prob... Here it is: Imagine you have a frame called F1 with only one JButton. You have a main prog with something like that:
|
| I/O problem | 29 Feb 2004 15:32 GMT | 3 |
I got a question about I/O classes At school, we have to type for the input/output: Input in; Output out;
|
| Java Inheritance, Objects as "Instance Variables" | 29 Feb 2004 05:21 GMT | 9 |
I just had a discussion with one of my teachers that has me confused about Java inheritance and Java terminology. Here is the scenario: There is an Animal class at the top of the hierarchy.
|
| OSX FruitMenu-aware app? | 28 Feb 2004 23:45 GMT | 2 |
I'm writing Java apps on Mac OSX. On my Mac I use a shareware called FruitMenu that lets me customize the Apple menu like the Classic OS used to. When my Java app has focus, the FruitMenu app does not show up. What do I need to do to make my app FruitMenu aware?
|
| Will resetting an object be less expensive then reinstantiating? | 28 Feb 2004 22:10 GMT | 2 |
I was wondering, I've been doing some work with GridBagLayout, and have noticed my overuse of "= new GridBagCostraints". I decided to create a new class, ReusableGridBagComponents, inherit from
|
| Suppressing an error message | 28 Feb 2004 18:47 GMT | 5 |
From my Java program, I'm constructing a cmd-line one-liner and running it from the shell on various platforms. Is there any platform independent way to suppress error messages from the cmd-line?
|
| How to update a file on a server from a JSP page | 28 Feb 2004 18:43 GMT | 2 |
I have to update a file on the server where a JSP file is . To read the previous value, I use an InputStream, and close it. I then do the update in my object representing the data file. I use an OutputStream, do the flush, close the stream, but the file still
|
| Displaying an image in a swing app | 28 Feb 2004 16:47 GMT | 7 |
I'm attempting to display a pair of images in a swing gui. However, no matter what i try, the images just won't seem to display. What i'm trying to do is to subclass JPanel and use it to display the java.awt.Image resources. I am loading the images from jpeg files and
|
| ClassNotFoundException with Applet and Servlet | 28 Feb 2004 14:03 GMT | 1 |
I have a servlet, NicknameServlet, that is connected via OutputStream -> HttpURLConnection object chain from an applet. For some bizarre reason, though, the APPLET throws a ClassNotFoundException error (and not the servlet!)
|
| Question: Java Serial Port Communication (javax.comm.*) | 28 Feb 2004 05:30 GMT | 2 |
I have trouble in using javax.comm.* for my project described as follows: Computer will generate pulses on Pin 4 of DB9 serial port. The input pulse, a square wave or a spike is needed to trigger device. The
|
| Java Regex | 27 Feb 2004 19:51 GMT | 4 |
I'm trying to match some text in HTML pages, e.g. the content between td tags (which could have a newline between them). Here is a test that I've been trying: page = new StringBuffer("<tr>\n <td>blah</td>\n </tr>"); // actually, has
|
| can not create package | 27 Feb 2004 17:00 GMT | 4 |
The most simple example: i have two files: Test.java: import mypackage.*; public class Test
|
| concatenate contents of variable with string | 27 Feb 2004 16:59 GMT | 2 |
I have some code in a form which inputs a friends email address and when you submit it sends the message to the person at the address. I want to be able to email to the variable name and also a hard coded address. When I actually input two addresses, it sends to both. The partial ...
|
| how do i create an exe file in java? | 27 Feb 2004 16:38 GMT | 5 |
i know how to make Applets, but i want to create *.exe files. how do i do that? a piece of code is allways wanted...
|