AccessControlException in Applet

后端 未结 2 508
予麋鹿
予麋鹿 2021-01-28 21:18

This applet runs fine in eclipse viewer. I cannot run it from any browser. How can I resolve this issue? I get this error from my java applet console:

Exception in th         


        
相关标签:
2条回答
  • 2021-01-28 21:48

    Edit your policy files accordingly. See this on how to do it.

    0 讨论(0)
  • 2021-01-28 21:57

    Applets running in a browser use a Security Manager. There are many things that applets in a browser are not allowed to do. If you insist that your applets do these things, deploy your applet as a signed applet

    0 讨论(0)
提交回复
热议问题