[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-java
Subject:    JFC Compiling problems?
From:       sgee () maxor ! com
Date:       1998-10-30 19:35:53
[Download RAW message or body]

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?

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic