| Thread | Last Post | Replies |
|
| Java in Linux | 02 Mar 2004 15:19 GMT | 2 |
I'm to write and compile Java in Linux. I am getting an odd compiler error which I don't see with Windows: error: Can't find method `showInputDialog(Ljava/lang/String;)' in type `javax.swing.JOptionPane'.userJackalope = JOptionPane.showInputDialog(
|
| How I can activate "javac" on Win98? | 02 Mar 2004 11:58 GMT | 4 |
Hello..Friends!!! Is a first time that I study a Java, but after script with Notepad on a exact sintax, using a Command javac with MS-DOS prompt, this dont't run to compile.
|
| write into a file | 02 Mar 2004 05:11 GMT | 7 |
can somebody help me with write file ? i am trying to do print '\n' (enter) into .txt file(i try to open use note pad), but somehow it doesn't work. part of code is
|
| 'java -version' -> stderr | 02 Mar 2004 02:38 GMT | 2 |
Can anyone tell me why 'java -version' prints to stderr and not to stdout? Is this a bug or a feature? (I'm using Java 1.4.2 on Solaris 8).
|
| Tree-like data structure? | 02 Mar 2004 01:08 GMT | 4 |
Using the File class I'm able to recursively traverse my local filesystem. I'm wondering how do Java programmers store this type of info, ie is there a Tree collection of some kind? I've seen JTree and it would make sense for there to be a corresponding data structure you can
|
| Swing Timer and utility Timer | 01 Mar 2004 23:34 GMT | 1 |
Hi, I have a Swing application and want to use a Timer class to refresh the statistics (using JTextArea) repeatedly at certain interval. I only need 1 timer and the refreshing must be very fast (as fast as 1 milli-second if possible).
|
| Applet won't work on the Internet, yet it works on my hard drive!!! | 01 Mar 2004 20:17 GMT | 1 |
I have uploaded this (first in my life) applet on the Internet, along with the HTML file for its viewing. On my hard drive I've opened the HTML with Internet Explorer and Opera, and it works ok. Then I uploaded it on the internet, and when I opened the Web site I got an "Invalid ...
|
| Newbie Question: Which IDE Should I Start With | 01 Mar 2004 17:46 GMT | 24 |
Hey, I recently decided to learn java and picked up a book on the subject. Having done almost everything I know about C++ within the Visual C++ IDE, I feel a lot better working with one than doing the command line as the book suggests. Is this a bad idea? I went and
|
| Question about garbage collection | 01 Mar 2004 17:24 GMT | 1 |
While I'm studying for 310-035 exam I encounter below question. Which of the following statements are true? 1)You cannot be certain at what point Garbage collection will occur 2) Once an object is unreachable it will be garbage collected
|
| How to get from java.lang.Object to a different type | 01 Mar 2004 14:40 GMT | 3 |
Hi, I have made a linked list that is full of objects of type T, and when I try to get the objects out of the linked list the error is that the types are incompatable. ie. T is not the same as java.lang.object. Surely there is a way to convert java.lang.object back to T???
|
| Need help with CLASSPATH | 01 Mar 2004 14:24 GMT | 1 |
I'm just starting off in the exciting world of Java, and my first book on the subject is Thinking in Java. The book's sample code use's Bruce Eckel's library, however, I'm unable to import his libraries. The library is in the same directory structure has in the import line in the ...
|
| Change look and feel on the fly? | 01 Mar 2004 08:14 GMT | 4 |
Trying to give user radio buttons to change JFrame look and feel on the fly via UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName(); etc. in the buttons' action listener. The code executes but the look and
|
| compiling ordering of java sorce code | 01 Mar 2004 06:34 GMT | 2 |
I s there a program that for a given directory sorts the correct order of compiling, ie if file a.java depends on file b.java then file b.java is compiled first or added the file list at command line? thanks in advance
|
| Applet compilation pb | 01 Mar 2004 05:36 GMT | 6 |
Hey, I recently decided to learn java and picked up tutorials and samples over the net, but each time i try to compile an applet I have the same problem ; in the paint method i cannot use the Color variable : public void paint(Graphics g)
|