The new JNLPAppletLauncher enables the creation and deployment of applets using 3D graphics via OpenGL without requiring the applet to be signed or performing any manual installation of software on users' computers. It has been tested and should work on any OS/CPU combination supported by JOGL with a Java Runtime Environment version 1.4.2 or later installed into the web browser. Here is an example of the standard Gears demo running as an applet:
The applet above is instantiated with the following code:
<applet code="org.jdesktop.applet.util.JNLPAppletLauncher" width=600 height=400 archive="http://download.java.net/media/applet-launcher/applet-launcher.jar, http://download.java.net/media/jogl/jsr-231-2.x-webstart/nativewindow.all.jar, http://download.java.net/media/jogl/jsr-231-2.x-webstart/jogl.all.jar, http://download.java.net/media/gluegen/webstart-2.x/gluegen-rt.jar, http://download.java.net/media/jogl/jsr-231-2.x-demos-webstart/jogl-demos.jar"> <param name="codebase_lookup" value="false"> <param name="subapplet.classname" value="demos.applets.GearsApplet"> <param name="subapplet.displayname" value="JOGL Gears Applet"> <param name="noddraw.check" value="true"> <param name="progressbar" value="true"> <param name="jnlpNumExtensions" value="1"> <param name="jnlpExtension1" value="http://download.java.net/media/jogl/jsr-231-2.x-webstart/jogl-core.jnlp"> </applet>
Note that the jogl-demos.jar, which contains the GearsApplet class, does not need to be signed! Sun Microsystems, Inc. signs applet-launcher.jar, jogl.jar and gluegen-rt.jar, which contain the JNLPAppletLauncher and JOGL's supporting classes; this is the only Java code which needs to be signed in order to deploy applets using JOGL and is the only certificate the end user must accept.
The JNLPAppletLauncher home page contains more information about what files must be placed on the web server in order to enable the deployment of applets using JOGL and other extensions.