Hey!
I played around a little with Applets…but it didn't work as it should.
Launching the Applet in eclipse works without any error…so with the internet explorer. No problems there.
edit works with firefox too
But starting it in opera allways trows this exception:
Exception in thread "Thread-44" java.lang.NoClassDefFoundError: Could not initialize class org.lwjgl.util.applet.LWJGLInstaller
at com.jme.system.lwjgl.LWJGLSystemProvider.installLibs(LWJGLSystemProvider.java:76)
at com.jmex.awt.applet.SimpleJMEApplet.init(SimpleJMEApplet.java:130)
at com.opera.AppletPanel.runHandlerThread(AppletPanel.java:438)
at com.opera.AppletPanel.run(AppletPanel.java:334)
at java.lang.Thread.run(Unknown Source)
Any ideas will be appreciated!
Thanks, Kain
edit i have another small question: my self-signed applet allways asks me whether i want to run it…if an applet is signed by verisign or something "trustworthy", is it run without this question?
my self-signed applet allways asks me whether i want to run it...if an applet is signed by verisign or something "trustworthy", is it run without this question?
Self signed applets show a scarier confirmation compared to the officially signed ones as far as I know, usually with a red dialog icon, while the official ones have a blue dialog icon.
Yeah…i read that too.
But how do they manage this?
On this link there is no question…
http://www.jjam.de/Java/Applets/Mathematik/FunktionsPlotter.html
Webbrowsers come installed with a list of company's that hand out certificate's. Thawte and Verisign are just a few, there's a whole list actually. You should be able to find them in your browser if you search arround a bit.
Whenever you buy a certificate from a company that's in the list, your applet will get accepted. Naturally, you'll have to pay a steep price to get that certificate. What I haven't manage to figure out though is whether the company that hands out the certificates checks the applet itself.
As far as a I know you just have to move over some dollars to them and they'll hand it out. Sounds a bit strange to me though since anyone could get a signed applet then. Then again, sending over your whole source code to get analysed by some strangers sounds even more terrifying.
But how do they manage this?
On this link there is no question...
That's because they are not doing anything that might invade security. When you run a LWJGL/jME application you request to run native code on the system (OpenGL/OpenAL/Input) which requires a confirmation from the user.