Re: Swing: Can't find class ClassName

1998-09-22 Thread Michael Sinz
On Tue, 22 Sep 1998 14:16:39 -0700, William Tchen wrote: >Thanks for your suggestion, but I think the CLASSPATH variable on my system >is properly set (which includes >swingall.jar), otherwise I can't compile a file that refer to Swing classes. >My CLASSPATH is: > >CLASSPATH=.:/JAVA/jdk1.1.6/lib/

Re: Swing: Can't find class ClassName

1998-09-22 Thread William Tchen
Gordon Chamberlin wrote: > > William Tchen wrote: > > > > Hi, > > I have a question concerning JFC. I'm using blackdown's jdk1.1.6v2 on > >. > > Anyone got some idea? Please give some suggestion, it is greatly > > appreciated. > > William Tran > > > I believe you have to explicitly pl

Re: Swing: Can't find class ClassName

1998-09-22 Thread Kevin Ryan
Since your class is inside a package, you'd need to refer to it this way: java JFCBook.Chapter2.BasicFrame (or get rid of the qualifying package name before compiling it) Separately, do you have SWING_HOME set? (This may not be necessary under Linux, but on Solaris and WinXX it is.) William

Re: Swing: Can't find class ClassName

1998-09-22 Thread Gordon Chamberlin
William Tchen wrote: > > Gordon Chamberlin wrote: > > > > William Tchen wrote: > > > > > > Hi, > > > I have a question concerning JFC. I'm using blackdown's jdk1.1.6v2 on > > >. > > > Anyone got some idea? Please give some suggestion, it is greatly > > > appreciated. > > > William Tran

Re: Swing: Can't find class ClassName

1998-09-22 Thread Wim Ceulemans
   I have a question concerning JFC. I'm using blackdown's jdk1.1.6v2 on RH5.1, and everything is working fine. I can compile the *.java files and run it using 'java classname'. But that is not the case with Swing component (Swing1.0.3). I compile a file that use Swing

Re: Swing: Can't find class ClassName

1998-09-22 Thread Gordon Chamberlin
> William Tchen wrote: > > Hi, > I have a question concerning JFC. I'm using blackdown's jdk1.1.6v2 on > RH5.1, and everything is working fine. I can compile the *.java files > and run it using 'java classname'. But that is not the case with Swing > component (Swing1.0.3). I compile a file that

Swing: Can't find class ClassName

1998-09-22 Thread William Tchen
Hi,  I have a question concerning JFC. I'm using blackdown's jdk1.1.6v2 on RH5.1, and everything is working fine. I can compile the *.java files and run it using 'java classname'. But that is not the case with Swing component (Swing1.0.3). I compile a file that use Swing components (instead