LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   (jwstric2) JFrame error on JAVA (https://www.linuxquestions.org/questions/programming-9/jwstric2-jframe-error-on-java-200221/)

nedian123 07-02-2004 02:37 AM

(jwstric2) JFrame error on JAVA
 
jwstric2 here is the code,
for simplicity i have made a simple program.

import javax.swing.*;

public class newhello extends Jframe
{
public static void main(String []arg)
{
newhello t= new newhello();
t.setVisible(true);
}
}

2 errors are

--Can't find default package 'javax.swing'. Check the CLASSPATH environment variable and the access to archives.

--Super class 'Jframe' of class 'newhello' not found.

kindly solve this problem this same program is executing fine on WINDOWS

coolman0stress 07-02-2004 03:50 AM

Well, for one it's JFrame and not Jframe.

darkRoom 07-02-2004 05:10 AM

I wasnt joking before.
http://www.linuxquestions.org/questi...ghlight=Jframe


All times are GMT -5. The time now is 08:41 AM.