Shell- / Display-Objekt von einem JavaApplet

Hi,

wenn ich folgendes versuche, dann bricht das Applet mit einer Exception ab.

(Zeile 474) Display display = Display.getCurrent();

Exception:

java.lang.ExceptionInInitializerError
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:125)
at onlineplayer.OnlinePlayer.init(OnlinePlayer.java:474)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission swt.version 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(Library.java:107)
at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18)
... 4 more

Das Applet ist Signiert.

Gruß

Kai
 
Zuletzt bearbeitet:
Zurück