AccessControlException in Applet

后端 未结 2 539
予麋鹿
予麋鹿 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: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

提交回复
热议问题