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
Date
> >
> >$ 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
I have a similar problem when I run Jikes ! But my Swing programs compile
and run OK using the Blackdown Java compiler.
I am using Slackware 3.5 and my environment setup is shown below :
export
CLASSPATH=.:/usr/local/jdk1.1.6v4a/lib/classes.zip:/usr/local/swing-1.0.3/li
b/swingall.jar
and as fo