the error says maxandmin.java [24:1] cannot resolve symbol symbol : constructor JFrame (java.lang.String) location: class JFrame private static JFrame window = new JFrame("Maximum and Minimum"); ^ 1 error Errors compiling maxandmin. could someone help me with this please
Originally posted by Rico jamz: i am usuing sun one studios, i am new at java
Yea, that's why I'm starting slow. "java -version" tells us what version of the JDK you are using. I tried your code with 1.4.1 and it works fine. I'm thinking you have a 1.1.* version somewhere. Of course, you dont get an error that it can't import javax.swing.*, right?