wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes Applet Loading  + AccessControlException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Applet Loading  + AccessControlException" Watch "Applet Loading  + AccessControlException" New topic

Applet Loading + AccessControlException

devayani Devasthali
Ranch Hand

Joined: Aug 25, 2005
Posts: 40

I have one applet which has locale settings too. and trying to load that applet. I am getting Exception
initializing applet

java.security.AccessControlException: access denied (java.util.PropertyPermission user.language write)

at java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)

at java.security.AccessController.checkPermission(AccessController.java:401)

at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)

at java.util.Locale.setDefault(Locale.java:372)

Please help me .
thanks in advance

It is sorta covered in the JavaRanch Style Guide.
subject: Applet Loading + AccessControlException