[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] SWT and Java appllet

Hi
Can anybody please help me.
I am using SWT in my applet.
In applet viewer it's running fine.
But when I run it on browsers it gives me an error message.
 
 
error messages are::
java.lang.ExceptionInInitializerError
 at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
 at swt.CanvasExample.init(CanvasExample.java:19)
 at sun.applet.AppletPanel.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)
Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission sun.arch.data.model read)
 at java.security.AccessControlContext.checkPermission(Unknown Source)
 at java.security.AccessController.checkPermission(Unknown Source)
 at java.lang.SecurityManager.checkPermission(Unknown Source)
 at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
 at java.lang.System.getProperty(Unknown Source)
 at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
 at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
 at org.eclipse.swt.internal.C.<clinit>(Unknown Source)
 ... 4 more
 
 

Thanks.