Applet not working
807569Jul 14 2006 — edited Jul 15 2006I have a program that I want to put on my website, I have created a jar file and referenced the applet class and the jar file in an applet tag, but it is giving the following error messages:
java.security.AccessControlException: access denied (java.util.PropertyPermission user.home read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
at java.security.AccessController.checkPermission(AccessController.java:401)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1276)
at java.lang.System.getProperty(System.java:573)
at sun.awt.shell.ShellFolderManager.get(ShellFolderManager.java:51)
at sun.awt.shell.ShellFolder.get(ShellFolder.java:245)
When I was at college I built a couple of applets for small programs without any problem, just put some settings in an applet tag that was pretty much it. Can any one tell me why now I have to security errors to deal with. Is it because the program is a lot bigger? And any idea of how I can a fix these errors?
Thanks in advance.