What is the compilation error ?


______________________________ Reply Separator _________________________________
Subject: JFC Compiling problems?
Author:  sgee ([EMAIL PROTECTED]) at lon-mime
Date:    30/10/98 19:35


Any reason why I can run ". runnit" from the SwingSet directory, but can't 
get this to compile?
     
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
     
     
SysVariables
JAVA_HOME="/usr/local/jdk1.1.6"
CLASSPATH="/usr/local/jdk1.1.6/lib/classes.zip:/usr/local/swing-1.0.3/swing 
.jar:."
PATH=$PATH":/usr/local/jdk1.1.6/bin"
     
Any ideas on what happens?
     

Reply via email to