The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
July 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

swing japplet does not load in browser

Posted by ram on July 05, 2001 at 6:02 AM

hi
iam using swing japplet in my project. if iam trying to open that applet in browser ,then the console is displaying the message given below. what is the problem ?.

thanks in advance

java.security.AccessControlException: access denied
(java.lang.RuntimePermission modifyThreadGroup)

at java.security.AccessControlContext.checkPermission(Unknown Source)

at java.security.AccessController.checkPermission(Unknown Source)

at java.lang.SecurityManager.checkPermission(Unknown Source)

at sun.applet.AppletSecurity.checkAccess(Unknown Source)

at java.lang.ThreadGroup.checkAccess(Unknown Source)

at java.lang.Thread.init(Unknown Source)

at java.lang.Thread.(Unknown Source)

at javax.swing.TimerQueue.start(Unknown Source)

at javax.swing.TimerQueue.(Unknown Source)

at javax.swing.TimerQueue.sharedInstance(Unknown Source)

at javax.swing.JApplet.(Unknown Source)

at client.(client.java)

at java.lang.Class.newInstance0(Native Method)

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 sun.applet.AppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)





Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us