ty vm,
I changed it but now I get an error for line 8:
C:\Program Files\Java\jdk1 .6.0_05\bin>jav ac HelloJava.java
HelloJava.java: 8: cannot find symbol
symbol : method setsize(int,int )
location: class javax.swing.JFr ame
frame.setsize ( 300, 300 );
^
1 error
probably another foolish error, ...
User Profile
Collapse
-
JFrame error
Hi,
I just decided to learn java, so I'm quite a noob.
I use the book learning java third edition.
have JDK 1.6
program in notepad.
I have made the simple HelloJava example, and now i wanted to make the one in the frame. but when i try to compile the .java file i get following error:
C:\Program Files\Java\JDK1 .6.0_05\bin>jav ac HelloJava.java (the file is located in the bin map)
HelloJava.java: 5:... -
java JFrame problem,
Hi,
I just decided to learn java, so I'm quite a noob.
I use the book learning java third edition.
have JDK 1.6
program in notepad.
I have made the simple HelloJava example, and now i wanted to make the one in the frame. but when i try to compile the .java file i get following error:
C:\Program Files\Java\JDK1 .6.0_05\bin>jav ac HelloJava.java (the file is located in the bin map)
HelloJava.java: 5:...
No activity results to display
Show More
Leave a comment: