S
Steve Burrus
Hi all again, I still find myself in need of some help/assistance with
always getting the Java Exception "java.security.AccessControlException"
when I try to see a compiled Swing applet in my favorite web browser!!!
Here is a dump from the Java Console for your inspection :
"Java(TM) Plug-in: Version 1.4.1_02
Using JRE version 1.4.1_02 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\Stephen Burrus
Proxy Configuration: Browser Proxy Configuration
----------------------------------------------------
java.security.AccessControlException: access denied
(java.io.FilePermission tiger.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 ImageMap.<init>(ToolTipsBasedOnMousePosition.java:21)
at ToolTipsBasedOnMousePosition.init(ToolTipsBasedOnMousePosition.java:8)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)"
always getting the Java Exception "java.security.AccessControlException"
when I try to see a compiled Swing applet in my favorite web browser!!!
Here is a dump from the Java Console for your inspection :
"Java(TM) Plug-in: Version 1.4.1_02
Using JRE version 1.4.1_02 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\Stephen Burrus
Proxy Configuration: Browser Proxy Configuration
----------------------------------------------------
java.security.AccessControlException: access denied
(java.io.FilePermission tiger.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 ImageMap.<init>(ToolTipsBasedOnMousePosition.java:21)
at ToolTipsBasedOnMousePosition.init(ToolTipsBasedOnMousePosition.java:8)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)"