One thing to note, with the use of JSR-231 version of JOGL, any reference to net.java.games.jogl.* has to become javax.media.opengl.* and any processing libraries that use OPENGL need to be recompiled with this.
There's also some tiny changes in one or two glFooBar type functions. (e.g. glFogfv now needs a FloatBuffer object, not a float array...)
Oh and the nightly builds of JSR-231 *ARENT* signed by sun, only the specific releases are, so the bundled versions can't be used for OpenGL applets.
The only hurdle to get OpenGL applets working (other than versions) as far as I can see is that PGraphicsGL causes a security error when it checks CPU endian-ness. I've submitted details as bug #309.
If that is resolved, I think that the only changes needed to get OpenGL applets is:
Not necessary to bundle the JOGL files into the MySketch.jar
Change the HTML snippet to:
Code:
<applet code="com.sun.opengl.util.JOGLAppletLauncher"
archive="jogl.jar,MySketch.jar"
width="200" height="200" mayscript="true">
<param name="image" value="loading.gif">
<param name="boxmessage" value="Loading Processing software...">
<param name="boxbgcolor" value="#FFFFFF">
<PARAM NAME="progressbar" value="true">
<param name="subapplet.classname" VALUE="MySketch">
<param name="subapplet.displayname" VALUE="MySketch">
</applet>