To carry on the nubie questions …
<!-- Main Applet Class -->
<param name="al_main" value="org.newdawn.slick.AppletGameContainer">
<param name="game" value="TestApplet.myApplet.Main">
My application is in TestApplet.jar. does this mean that i need the game classpath to be ‘TestApplet.myApplet.Main’ or just ‘myApplet.Main’?
EDIT:
Ahh, the second one seems to work (sorta…)
At least it seems to be finding everything now. I’m thinking that maybe I should have the actual ‘TestApplet extends BasicGame’ class in the ‘game’ parameter, rather than the applications main class, right?
Loaded image: jar:http://localhost/gameworks/apps/testApp/lwjgl_util_applet.jar!/appletlogo.png
Loaded image: jar:http://localhost/gameworks/apps/testApp/lwjgl_util_applet.jar!/appletprogress.gif
Wed Jul 21 16:46:18 BST 2010 ERROR:myApplet.Main cannot be cast to org.newdawn.slick.Game
java.lang.ClassCastException: myApplet.Main cannot be cast to org.newdawn.slick.Game
at org.newdawn.slick.AppletGameContainer.init(AppletGameContainer.java:124)
at org.lwjgl.util.applet.AppletLoader.switchApplet(AppletLoader.java:954)
at org.lwjgl.util.applet.AppletLoader.run(AppletLoader.java:751)
at java.lang.Thread.run(Unknown Source)
This occurred while 'Initializing real applet'
java.lang.RuntimeException: Unable to create game container
at org.newdawn.slick.AppletGameContainer.init(AppletGameContainer.java:148)
at org.lwjgl.util.applet.AppletLoader.switchApplet(AppletLoader.java:954)
at org.lwjgl.util.applet.AppletLoader.run(AppletLoader.java:751)
at java.lang.Thread.run(Unknown Source)
EDIT-EDIT:
;D
http://sphotos.ak.fbcdn.net/hphotos-ak-ash2/hs091.ash2/37871_413481956716_555931716_5198123_262480_n.jpg
Finaly!
Loaded image: jar:http://localhost/gameworks/apps/testApp/lwjgl_util_applet.jar!/appletlogo.png
Loaded image: jar:http://localhost/gameworks/apps/testApp/lwjgl_util_applet.jar!/appletprogress.gif
Wed Jul 21 16:48:43 BST 2010 INFO:Slick Build #274
Wed Jul 21 16:48:45 BST 2010 INFO:Starting display 640x480
Loading: net.java.games.input.DirectAndRawInputEnvironmentPlugin
Failed to initialize device Wacom Virtual Hid Driver because of: java.io.IOException: Failed to acquire device (8007001e)
Wed Jul 21 16:48:45 BST 2010 INFO:Found 4 controllers
Wed Jul 21 16:48:45 BST 2010 INFO:0 : Comfort Curve Keyboard 2000
Wed Jul 21 16:48:45 BST 2010 INFO:1 : Wacom Virtual Hid Driver
Wed Jul 21 16:48:45 BST 2010 INFO:2 : Wacom Virtual Hid Driver
Wed Jul 21 16:48:45 BST 2010 INFO:3 : Virtual Keyboard Driver