Hi!
Im trying the applet-example in the user guide but when I try to run the exampe in IE or FF i just get:
"jmetest.awt.applet.AppletTestBoxColor notinitated"
When I run it as an applet inside Eclipse its working.
Then I tried even simpler to use the already existing jmetest.awt.applet.AppletTestBoxColor
From Eclipse I just exported to jar and put the jar along the other jars and the html with content:
<html>
<body>
<h Test Applet Page</h1>
<center>
<applet
code="jmetest.awt.applet.AppletTestBoxColor"
archive="lwjgl_util_applet.jar,lwjgl.jar,jme.jar,natives.jar,jme-awt.jar,jmetest.jar" width="800" height="600">
<param name="useAppletCanvasSize" value="true"/>
</applet>
</center>
</body>
</html>
I get the below exception (firefox) when I try to run the example. Im new to applets and have no idee how to fix it?
Please help! This engine is really cool!
2007-sep-15 13:28:12 class com.jme.system.lwjgl.LWJGLSystemProvider installLibs()
ALLVARLIG: Exception
java.security.AccessControlException: access denied (java.util.PropertyPermission java.io.tmpdir 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.lwjgl.util.applet.LWJGLInstaller$7.run(LWJGLInstaller.java:309)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.util.applet.LWJGLInstaller.uninstall(LWJGLInstaller.java:307)
at org.lwjgl.util.applet.LWJGLInstaller.tempInstall(LWJGLInstaller.java:136)
at com.jme.system.lwjgl.LWJGLSystemProvider.installLibs(Unknown Source)
at com.jmex.awt.applet.SimpleJMEApplet.init(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
2007-sep-15 13:28:12 class jmetest.awt.applet.AppletTestBoxColor init()
ALLVARLIG: Exception
com.jme.system.JmeException: Could not install lwjgl libs! java.security.AccessControlException: access denied (java.util.PropertyPermission java.io.tmpdir read)
at com.jme.system.lwjgl.LWJGLSystemProvider.installLibs(Unknown Source)
at com.jmex.awt.applet.SimpleJMEApplet.init(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.NoClassDefFoundError: Could not initialize class com.jmex.awt.lwjgl.LWJGLCanvas
at com.jme.system.lwjgl.LWJGLDisplaySystem.createCanvas(Unknown Source)
at com.jmex.awt.applet.SimpleJMEApplet.init(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)