java.security.AccessControlException: access denied
(java.io.FilePermission Chevelle.gif read)
at java.security.AccessControlContext.checkPermission
(Unknown Source)
at java.security.AccessController.checkPermission
(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown
Source)
at java.lang.SecurityManager.checkRead(Unknown Source)
at sun.awt.SunToolkit.getImageFromHash(Unknown Source)
at sun.awt.SunToolkit.getImage(Unknown Source)
at javax.swing.ImageIcon.<init>(Unknown Source)
at javax.swing.ImageIcon.<init>(Unknown Source)
at RaceCar.init(RaceCar.java:14)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
It looks like you're trying to load a file from the local disk -
something you can't do in applets without signing them first. The Java
documentation on applets should have more details about security
restrictions and how to sign your applets to allow the user of the
applets to decide whether or not to trust your applets to have more
access.
--
Jon Skeet - sk...@pobox.com
http://www.pobox.com/~skeet
java.security.AccessControlException: access denied
(java.io.FilePermission Chevelle.gif read)
>>
Appletviewer grants AllPermissions for the html. Apparently (it seems to me
strange why) you system denies the read access to Chevelle.gif file. Where is
it located?