diff options
-rw-r--r-- | jnlp-files/jogl-applet-runner-newt-gears-normal-napplet.html | 107 | ||||
-rw-r--r-- | jnlp-files/jogl-applet-runner-newt-gears-normal.html | 2 | ||||
-rw-r--r-- | jnlp-files/jogl-test-applets.html | 5 | ||||
-rwxr-xr-x | make/scripts/tests.sh | 2 |
4 files changed, 114 insertions, 2 deletions
diff --git a/jnlp-files/jogl-applet-runner-newt-gears-normal-napplet.html b/jnlp-files/jogl-applet-runner-newt-gears-normal-napplet.html new file mode 100644 index 000000000..7a01e87bc --- /dev/null +++ b/jnlp-files/jogl-applet-runner-newt-gears-normal-napplet.html @@ -0,0 +1,107 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html> +<head> +<title>JOGL NEWT Applet Runner - GearsES2 - normal - Normal Applet</title> +</head> +<body BGCOLOR="#ffffff"> + +<P> +JOGL NEWT Applet Runner Special Keys:<br> +<ul> + <li> d - toggle decoration </li> + <li> f - toggle fullscreen </li> + <li> r - in/out browser window </li> + <li> a - on/off always-on-top </li> +</ul> +</P> + +<P> +<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" + width="200" height="200"> + <param name="code" value="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run"> + <param name="archive" value="jar/gluegen-rt.jar, + jar/jogl.all.jar, + jar/junit.jar, + jar/jogl.test.jar"> + <param name="java_arguments" value="-Dsun.java2d.noddraw=true"> + <param name="gl_event_listener_class" value="com.jogamp.opengl.test.junit.jogl.demos.es2.GearsES2"> + <param name="gl_profile" value="GL2ES2"> + <param name="gl_swap_interval" value="1"> + <param name="gl_debug" value="false"> + <param name="gl_trace" value="false"> + <comment> + <embed code="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run" + width="200" height="200" + type="application/x-java-applet;version=1.6" + pluginspage="http://java.sun.com/javase/downloads/ea.jsp" + archive="jar/gluegen-rt.jar, + jar/jogl.all.jar, + jar/junit.jar, + jar/jogl.test.jar" + java_arguments="-Dsun.java2d.noddraw=true" + gl_event_listener_class="com.jogamp.opengl.test.junit.jogl.demos.es2.GearsES2" + gl_profile="GL2ES2" + gl_swap_interval="1" + gl_debug="false" + gl_trace="false"> + <noembed>Sorry, no Java support detected.</noembed> + </embed> + </comment> +</object> + +</P> + +<P> + +The applet above is instantiated with the following code: + +<pre> +<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" + width="200" height="200"> + <param name="code" value="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run"> + <param name="archive" value="jar/gluegen-rt.jar, + jar/jogl.all.jar, + jar/junit.jar, + jar/jogl.test.jar"> + <param name="java_arguments" value="-Dsun.java2d.noddraw=true"> + <param name="gl_event_listener_class" value="com.jogamp.opengl.test.junit.jogl.demos.es2.GearsES2"> + <param name="gl_profile" value="GL2ES2"> + <param name="gl_swap_interval" value="1"> + <param name="gl_debug" value="false"> + <param name="gl_trace" value="false"> + <comment> + <embed code="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run" + width="200" height="200" + type="application/x-java-applet;version=1.6" + pluginspage="http://java.sun.com/javase/downloads/ea.jsp" + archive="jar/gluegen-rt.jar, + jar/jogl.all.jar, + jar/junit.jar, + jar/jogl.test.jar" + java_arguments="-Dsun.java2d.noddraw=true" + gl_event_listener_class="com.jogamp.opengl.test.junit.jogl.demos.es2.GearsES2" + gl_profile="GL2ES2" + gl_swap_interval="1" + gl_debug="false" + gl_trace="false"> + <noembed>Sorry, no Java support detected.</noembed> + </embed> + </comment> +</object> + +</pre> + +</P> +<P> + +Note that the jogl.test.jar, which contains the test applet class, +<B>does not need to be signed</B>! JogAmp Community signs +jogl.jar and gluegen-rt.jar, which contain +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. + +</P> + +</body> +</html> diff --git a/jnlp-files/jogl-applet-runner-newt-gears-normal.html b/jnlp-files/jogl-applet-runner-newt-gears-normal.html index 12b391baf..7d6adc422 100644 --- a/jnlp-files/jogl-applet-runner-newt-gears-normal.html +++ b/jnlp-files/jogl-applet-runner-newt-gears-normal.html @@ -175,7 +175,7 @@ Where the referenced JNLP file <em>jogl-applet-runner-newt.jnlp</em> looks as fo </P> <P> -Note that the jogl-demos.jar, which contains the GearsApplet class, +Note that the jogl.test.jar, which contains the test applet class, <B>does not need to be signed</B>! JogAmp Community signs applet-launcher.jar, jogl.jar and gluegen-rt.jar, which contain the JNLPAppletLauncher and JOGL's supporting classes; this is the only diff --git a/jnlp-files/jogl-test-applets.html b/jnlp-files/jogl-test-applets.html index 3f35aec18..2ae63a6b9 100644 --- a/jnlp-files/jogl-test-applets.html +++ b/jnlp-files/jogl-test-applets.html @@ -69,6 +69,7 @@ See Legend below table <td> <a href="jogl-applet-runner-newt-gears-normal.html">Dual</a><br/> <a href="jogl-applet-runner-newt-gears-normal-launcheronly.html">LApplet</a><br/> + <a href="jogl-applet-runner-newt-gears-normal-napplet.html">NApplet</a><br/> </td> <td> Classic OpenGL Gears for ES2 @@ -166,6 +167,10 @@ Click on the <i>Launch</i> link to actually launch the demo.<br/> <td> Applet using JNLP-Applet & JOGL's AppletLauncher mechanism. (JApplet + LApplet) </td> </tr> <tr> + <td> NApplet </td> + <td> Applet just using Applet/Object or Embed tag, where native JARs are post-loaded by GlueGen/JOGL. </td> + </tr> + <tr> <td> WebStart </td> <td> Application using JNLP's WebStart mechanism. </td> </tr> diff --git a/make/scripts/tests.sh b/make/scripts/tests.sh index 0d2aef8c5..1c9ba78a7 100755 --- a/make/scripts/tests.sh +++ b/make/scripts/tests.sh @@ -96,7 +96,7 @@ function jrun() { #D_ARGS="-Djogamp.debug.TempFileCache" #D_ARGS="-Djogamp.debug.JNILibLoader -Djogamp.debug.TempFileCache -Djogamp.debug.JARUtil" D_ARGS="-Djogamp.debug.JNILibLoader" - #D_ARGS="-Djogamp.debug.JNILibLoader -Djogamp.gluegen.UseTempJarCache=false" + #D_ARGS="-Djogamp.debug.JNILibLoader -Djogamp.gluegen.UseTempJarCache=false -Djogamp.debug.JARUtil" #X_ARGS="-Dsun.java2d.noddraw=true -Dsun.java2d.opengl=true" #X_ARGS="-verbose:jni" |