JOGL in applet

Alrighty, I’ve put the runtime loader online… I hoped to post a more polished version here, but like most of you I dont have much spare time :-
It shows the runtime downloading & installing I talked about earlier:

http://dev.arcazoid.com/matthijs/jogl/index.htm

Sources can be downloaded here:

http://dev.arcazoid.com/matthijs/jogl/jogloader.zip

After compiling the classes, the packages need to be put in the following jars:
jar cf Applet.jar deployed*.class
jar cf Loader.jar loader*.class
jar cf JOGLLoader.jar runtime*.class

  • Loader.jar needs to be signed, JOGLLoader.jar must not be in the applet archive tag, or else its classes will be resolved by the applet classloader instead our own.
    The files downloaded at runtime will be placed in the users homedir in a directory JOGL-Test.

Thijs

PS: I noticed that it can take ~30 seconds before anything is shown when you press RUN JOGL (after all files are already downloaded, though this doesnt happen when you run it local), will look into that later.

Thanks for posting this. I’ve filed Issue 312 to look into this and consider incorporating a similar technique into the JNLPAppletLauncher.