-   Programming (
-   -   (jwstric2) JFrame error on JAVA (

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();

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.

All times are GMT -5. The time now is 10:43 PM.