Hello,
I m experiencing Applet with JOGL, and I have protection problem. I working with NetBeams 3.6 RC3 and when the IDE launch itself the applet I don t have any problem but when the applet is start with the AppletViewer this error occur :
java.lang.ExceptionInInitializerError
at net.java.games.jogl.impl.GLContext.(GLContext.java:51)
at net.java.games.jogl.impl.windows.WindowsGLContextFactory.createGLContext(WindowsGLContextFactory.java:52)
at net.java.games.jogl.GLCanvas.(GLCanvas.java:68 )
at net.java.games.jogl.GLDrawableFactory.createGLCanvas(GLDrawableFactory.java:117)
at net.java.games.jogl.GLDrawableFactory.createGLCanvas(GLDrawableFactory.java:80)
at Aviron.init(Aviron.java:102)
at sun.applet.AppletPanel.run(AppletPanel.java:353)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission loadLibrary.jawt)
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.checkLink(SecurityManager.java:810)
at java.lang.Runtime.loadLibrary0(Runtime.java:782)
at java.lang.System.loadLibrary(System.java:834)
at net.java.games.jogl.impl.NativeLibLoader$1.run(NativeLibLoader.java:51)
at java.security.AccessController.doPrivileged(Native Method)
at net.java.games.jogl.impl.NativeLibLoader.(NativeLibLoader.java:46)
… 8 more
so can any body help me ???
I have another question … easier … ;D, In which cas swing is less performant than AWT ?? I read that’s done using offscreen … so is it a cap that as to be check ??
Thanks for Help …