No. Swing 1.0.3 should have the older com.sun.java.swing which is
correct.
I dont think the order of the swing and JDK jar file in the CLASSPATH
will make any difference, but perhaps you should put the `period'
`dot' at the front of your CLASSPATH .
Do you have somethin in your ~/.bashrc or equiv login sheel that is
redefining the CLASSPATH?
Pete
______________________________ Reply Separator _________________________________
Subject: JFC Compilation still bothersome
Author: sgee ([EMAIL PROTECTED]) at lon-mime
Date: 02/11/98 15:52
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