You will probably need the specify the other jars in Swing too in your
classpath. For example motif.jar swing.jar windows.jar too
__ Reply Separator _
Subject: help with swing!
Author: psteele ([EMAIL PROTECTED]) at lon-mime
> >
> >$ javac HelloSwing.java
> >HelloSwing.java:1: Package java.swing not found in import.
> >import java.swing.*;
> > ^
This won't work since swing is under com.sun.java.swing.*
See if that helps,
Brad
--
--- There are two kinds of knowledge, you either know the answer or
Hi Philip,
This was your command-line:
> $ ./runnit
> /opt/java/jdk1.1.6/bin/java -classpath .:/opt/java/swing-1.0.3/swing.j
> ar:/opt/java/swing-1.0.3/windows.jar:/opt/javaswing-1.0.3/motif.jar:/o
> pt/java/swing-1.0.3/metal.jar:/opt/java/swing-1.0.3/organic.jar:/opt/j
> ava/swing-1.0.3/mac.jar:
> "psteele" == psteele <[EMAIL PROTECTED]> writes:
psteele> Hello Please help! I am having the following problem
psteele> using swing-1.0.3 with blackdown's jdk1.1.6 under RedHat
psteele> linux 5.1: My profile:
psteele> CLASSPATH=.:/opt/java/swing-1.0.3/swingall.jar
pste
9 AM
Subject: help with swing!
>Hello
>
>Please help! I am having the following problem using swing-1.0.3 with
>blackdown's jdk1.1.6 under RedHat linux 5.1:
>My profile:
>
>CLASSPATH=.:/opt/java/swing-1.0.3/swingall.jar
>JAVA_HOME=/opt/java/jdk1.1.6
>SWING_HOME=/opt/j
Hello
Please help! I am having the following problem using swing-1.0.3 with
blackdown's jdk1.1.6 under RedHat linux 5.1:
My profile:
CLASSPATH=.:/opt/java/swing-1.0.3/swingall.jar
JAVA_HOME=/opt/java/jdk1.1.6
SWING_HOME=/opt/java/swing-1.0.3
export CLASSPATH SWING_HOME JAVA_HOME
When I attempt