Applet problem

Started by tuft, June 01, 2008, 10:44:27

Previous topic - Next topic

tuft

Hi,
I tried to create simple applet - just copied code from http://lwjgl.org/wiki/doku.php/lwjgl/tutorials/applet-lwjglinstaller, builded and packaged in netbeans, changed html to load my jar and class. When I load it in browser I get "Fatal error occured (7): test.AppletTestComplete" after natives are installed. Where is the problem? I have little to no experience with applets, It is posible I overlooked some really simple thing... . Thanks for any help.

Matzon

The preferred way to deploy applets is using the AppletLoader: http://lwjgl.org/wiki/doku.php/lwjgl/tutorials/applet
Please try to use this.

kappa

yes that tutorial is completely out of date and will no longer work, as LWJGLInstaller is no longer used.

You'll have to use the new AppletLoader, see here for an example of the new LWJGL Applets http://java-game-lib.svn.sourceforge.net/viewvc/java-game-lib/trunk/LWJGL/src/java/org/lwjgl/test/applet/GearsApplet.java?view=log


Also download the lwjgl_applet-2.0b1.zip package for an example on how to setup the applet.