|
-
October 3rd, 2000, 04:14 PM
#1
Resource Bundle
I have a resource bundle in my java program which worked no problem as application. Now that I am running as applet, I get the following in the java console:
JAR cache enabled.
Opening http://pc/PopUp.jar no proxy
CacheHandler file name: C:\WINNT\Temporary Internet Files\Content.IE5\K634GYL6\PopUp[1].jar
Opening http://pc/resources/resource_en_US.class no proxy
CacheHandler file name: null
Opening http://pc/resources/resource_en.class no proxy
CacheHandler file name: null
Opening http://pc/resources/resource.class no proxy
CacheHandler file name: null
Exception occurred during event dispatching:
java.security.AccessControlException: access denied (java.io.FilePermission images/mnt.gif read) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:195)
at java.security.AccessController.checkPermission(AccessController.java, Compiled Code)
at java.lang.SecurityManager.checkPermission(SecurityManager.java, Compiled Code)
at java.lang.SecurityManager.checkRead(SecurityManager.java:873)
at sun.awt.SunToolkit.getImageFromHash(SunToolkit.java:242)
at sun.awt.SunToolkit.getImage(SunToolkit.java:256)
at javax.swing.ImageIcon.<init>(ImageIcon.java:64)
at javax.swing.ImageIcon.<init>(ImageIcon.java:83)
at Attachments.<init>(PopUp.java:124)
at PopUp.actionPerformed(PopUp.java:37)
at java.awt.Button.processActionEvent(Button.java:308)
at java.awt.Button.processEvent(Button.java:281)
at java.awt.Component.dispatchEventImpl(Component.java, Compiled Code)
at java.awt.Component.dispatchEvent(Component.java, Compiled Code)
at java.awt.EventQueue.dispatchEvent(EventQueue.java, Compiled Code)
at java.awt.EventDispatchThread.pumpOneEventForComponent(EventDispatchThread.java, Compiled Code)
at java.awt.EventDispatchThread.pumpEventsForComponent(EventDispatchThread.java:95)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:90)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
I don't have .class files for my .properties (resource) files...anyone know why I get this?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|