Are you using the SWT_AWT bridge to
embed swt into your applet? Or, are you using the RSWT project (which
uses SWT_AWT)? SWT_AWT needs to be used in some form in order for
SWT to be used in an AWT context like an applet. For SWT_AWT examples
see http://www.eclipse.org/swt/snippets#awt. Unfortunately it looks
like the RSWT page at sourceforge is no longer active, but you may be able
to find it somewhere else if you want to investigate it.
Grant
"Asutosh Dash"
<pasutosh@xxxxxxxxx> Sent by: platform-swt-dev-bounces@xxxxxxxxxxx
09/08/08 09:13 AM
Please respond to
"Eclipse Platform SWT component developers list."
<platform-swt-dev@xxxxxxxxxxx>
To
platform-swt-dev@xxxxxxxxxxx
cc
Subject
[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._______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev