Meaningless Drivel is fun!
The moose likes Applets and the fly likes error in applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "error in applet" Watch "error in applet" New topic

error in applet

seema pal
Ranch Hand

Joined: Nov 17, 2005
Posts: 39
whem i run the applicaton through the applet then there is error and scormplayerFrame is the main class


in java console error is------------- access denied (java.util.PropertyPermission apple.laf.useScreenMenuBar write)
at Source)
at Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.System.setProperty(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at Source)
at Source)
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
I'm not sure what "whem i run the applicaton through the applet" means, but it looks like the applet is trying to perform an operation it's not allowed to perform. For details and worksarounds, see HowCanAnAppletReadFilesOnTheLocalFileSystem
[ February 01, 2006: Message edited by: Ulf Dittmer ]
I agree. Here's the link:
subject: error in applet
It's not a secret anymore!