Still having problems compiling

import com.sun.java.swing.*;

public class test extends JFrame{

     public test(){
          this.setSize(300,300);
          this.setVisible(true);
     }//end constructor

     public static void main(String args[]){
          new test();
     }//end main

}//end class


ERROR:
test.java:2: Package com.sun.java.swing not found in import.
import com.sun.java.swing.*;
             ^
test.java:3: Superclass JFrame of class test not found.
public class test extends JFrame{
                                                 ^
2 errors

I have tried using
import javax.java.*;

as well as having added swingall.jar and motif.jar?

I appreciate the help this far,
any more ideas?

Steve

Reply via email to