You need to add swingall.jar to your classpath. After doing that double
check to see that it can find the class by running.

javap javax.swing.Jpanel

You should see the public API printed to the screen.

later
mo

On Tue, 6 Apr 1999, Hasan Mahmood wrote:

> Hello.
> 
> I downloaded the new preview release of jdk from your site and also
> patched my kernel with Alan Cox's 2.0.37 patch. Still I am getting the
> following error when I try to run the demo jfc classes:
> 
>       java.lang.ClassNotFoundException: javax/swing/JPanel
> 
> this is after I type in java Notepad (for instance) in the
> jdk1.2/demo/jfc/Notepad dir.
> 
> Could you help me reslove this error? 
> 
> Thanks,
> Hasan.
> 
>                        \\_____/===\_____//
>                             --0\ /0--
>                                (@)
> 
>                           Hasan Mahmood
>       Department of Electrical and Computer Engineering       
>               The University of Texas at Austin
>                            Austin, TX
>                         (512)  480 0669
> 
> 
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 

Mo DeJong
[EMAIL PROTECTED]
gimme multimedia group


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to