If you are using jdk 1.3.1 no classpath setup is needed as long as you don't
use third party products. Try deleting you classpath settings or if you use
third party products then something like this:

set classpath=c:\java\jars\somejar.jar;.

swingall.jar, motif.jar and windows.jar are left overs from jdk 1.1.x, I
think. Are you using the Java 2 plug-in in your browser or do you use the
browser JVM with swingall.jar? In the latter case use the ACHEIVE html tag
for swingall.jar. If I remember correctly motif.jar and windows.jar are
subsets of swingall.jar, they just only support one look and feel. But if
you are using the java 2 plug-in everything you need to run swing applets is
included in the plug-in. Remember to use EMBED and OBJECT tags instead of
the APPLET tag.

Regards
Mads

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
> [EMAIL PROTECTED]
> Sent: 10. juni 2001 22:06
> To: [EMAIL PROTECTED]
> Subject: question about swing
>
>
> Hi there:
>
> Under Win IE, I have no problem to view the swing applet by
> appletviewer but
> I could not run it through the browser when i launch my Japplet
> it throws a
> SecurityException trying to read the file
> C:/windows/java/lib/swing.properties
>
> This file doesn't exist on my hard disk.
>
> I did set up the classpath for IE, set classpath point to
> swingall.jar, and
> my IE is 5.5 . are windows.jar and motif.jar useful? my javahome
> is jdk1.3.1
>
>
> thank you very much
>
> karen
> _______________________________________________
> Swing mailing list
> [EMAIL PROTECTED]
> http://eos.dk/mailman/listinfo/swing

_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing

Reply via email to