diff options
20 files changed, 112 insertions, 466 deletions
diff --git a/doc/deployment/JOGL-DEPLOYMENT.html b/doc/deployment/JOGL-DEPLOYMENT.html index da7bb24b4..81a028e87 100644 --- a/doc/deployment/JOGL-DEPLOYMENT.html +++ b/doc/deployment/JOGL-DEPLOYMENT.html @@ -40,44 +40,34 @@ the <a href="#NativeJARFiles">native JAR files</a>. </p> - Examples are available: - <ul> - <li><a href="http://jausoft.com/jogamp/jogl-applet-runner-newt-gears-normal-napplet.html">Demo on jausoft.com and modules on jogamp.org</a></li> - <li><a href="http://jogamp.org/deployment/jogamp-current/jogl-applet-runner-newt-gears-normal-napplet.html">Demo and modules on jogamp.org</a></li> - </ul> + <a href="http://jogamp.org/deployment/jogamp-current/jogl-demos/applet-gears-napplet.html">AWT/JOGL NApplet Example</a>: <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/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"> + width="600" height="400"> + <param name="code" value="demos.applets.GearsApplet"> + <param name="archive" value="../jar/gluegen-rt.jar, + ../jar/jogl-all.jar, + jar/jogl-demos.jar"> <comment> - <embed code="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run" - width="200" height="200" + <embed code="demos.applets.GearsApplet" + width="600" height="400" 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/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"> + archive="../jar/gluegen-rt.jar, + ../jar/jogl-all.jar, + jar/jogl-demos.jar"> <noembed>Sorry, no Java support detected.</noembed> </embed> </comment> </object> </pre> - + <p> + NEWT/JOGL NApplet Examples: + <ul> + <li><a href="http://jausoft.com/jogamp/jogl-applet-runner-newt-gears-normal-napplet.html">Demo on jausoft.com and modules on jogamp.org</a></li> + <li><a href="http://jogamp.org/deployment/jogamp-current/jogl-applet-runner-newt-gears-normal-napplet.html">Demo and modules on jogamp.org</a></li> + </ul> + </p> <h1><a name="JNLPFiles">JNLP Files</a></h1> diff --git a/jnlp-files/jogl-applet-runner-newt-ElektronenMultiplizierer.html b/jnlp-files/jogl-applet-runner-newt-ElektronenMultiplizierer.html index 83131585a..8768dd452 100644 --- a/jnlp-files/jogl-applet-runner-newt-ElektronenMultiplizierer.html +++ b/jnlp-files/jogl-applet-runner-newt-ElektronenMultiplizierer.html @@ -12,19 +12,10 @@ Demoscene Passivist's Elektronen-Multiplizierer <P> <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="640" height="480"> - <param name="code" value="org.jdesktop.applet.util.JNLPAppletLauncher"> - <param name="archive" value="jar/applet-launcher.jar, - jar/gluegen-rt.jar, + <param name="code" value="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run"> + <param name="archive" value="jar/gluegen-rt.jar, jar/jogl-all.jar, jar/jogl-test.jar"> - <param name="codebase_lookup" value="false"> - <param name="subapplet.classname" value="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run"> - <param name="subapplet.displayname" value="ElektronenMultiplizierer"> - <param name="noddraw.check" value="true"> - <param name="progressbar" value="true"> - <param name="jnlpNumExtensions" value="1"> - <param name="jnlpExtension1" value="jogl-all-awt.jnlp"> - <param name="java_arguments" value="-Dsun.java2d.noddraw=true"> <param name="gl_event_listener_class" value="com.jogamp.opengl.test.junit.jogl.demos.es2.ElektronenMultiplizierer"> <param name="gl_profile" value="GL2ES2"> <param name="gl_swap_interval" value="1"> @@ -32,22 +23,13 @@ Demoscene Passivist's Elektronen-Multiplizierer <param name="gl_trace" value="false"> <param name="jnlp_href" value="jogl-applet-runner-newt.jnlp"> <comment> - <embed code="org.jdesktop.applet.util.JNLPAppletLauncher" + <embed code="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run" width="640" height="480" type="application/x-java-applet;version=1.6" pluginspage="http://java.sun.com/javase/downloads/ea.jsp" - archive="jar/applet-launcher.jar, - jar/gluegen-rt.jar, + archive="jar/gluegen-rt.jar, jar/jogl-all.jar, jar/jogl-test.jar" - codebase_lookup" value="false" - subapplet.classname="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run" - subapplet.displayname="ElektronenMultiplizierer" - noddraw.check="true" - progressbar="true" - jnlpNumExtensions="1" - jnlpExtension1="jogl-all-awt.jnlp" - java_arguments="-Dsun.java2d.noddraw=true" gl_event_listener_class="com.jogamp.opengl.test.junit.jogl.demos.es2.ElektronenMultiplizierer" gl_profile="GL2ES2" gl_swap_interval="1" diff --git a/jnlp-files/jogl-applet-runner-newt-GraphTextDemo01.html b/jnlp-files/jogl-applet-runner-newt-GraphTextDemo01.html index 489984b4f..fc00b73fc 100644 --- a/jnlp-files/jogl-applet-runner-newt-GraphTextDemo01.html +++ b/jnlp-files/jogl-applet-runner-newt-GraphTextDemo01.html @@ -12,19 +12,10 @@ JOGL Graph Text Demo 01 <P> <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="800" height="400"> - <param name="code" value="org.jdesktop.applet.util.JNLPAppletLauncher"> - <param name="archive" value="jar/applet-launcher.jar, - jar/gluegen-rt.jar, + <param name="code" value="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run"> + <param name="archive" value="jar/gluegen-rt.jar, jar/jogl-all.jar, jar/jogl-test.jar"> - <param name="codebase_lookup" value="false"> - <param name="subapplet.classname" value="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run"> - <param name="subapplet.displayname" value="JOGL Graph Text Demo01"> - <param name="noddraw.check" value="true"> - <param name="progressbar" value="true"> - <param name="jnlpNumExtensions" value="1"> - <param name="jnlpExtension1" value="jogl-all-awt.jnlp"> - <param name="java_arguments" value="-Dsun.java2d.noddraw=true"> <param name="gl_event_listener_class" value="com.jogamp.opengl.test.junit.graph.demos.GPUTextGLListener0A"> <param name="gl_profile" value="GL2ES2"> <param name="gl_swap_interval" value="1"> @@ -35,22 +26,13 @@ JOGL Graph Text Demo 01 <param name="gl_trace" value="false"> <param name="jnlp_href" value="jogl-applet-runner-newt.jnlp"> <comment> - <embed code="org.jdesktop.applet.util.JNLPAppletLauncher" + <embed code="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run" width="800" height="400" type="application/x-java-applet;version=1.6" pluginspage="http://java.sun.com/javase/downloads/ea.jsp" - archive="jar/applet-launcher.jar, - jar/gluegen-rt.jar, + archive="jar/gluegen-rt.jar, jar/jogl-all.jar, jar/jogl-test.jar" - codebase_lookup" value="false" - subapplet.classname="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run" - subapplet.displayname="JOGL Graph Text Demo01" - noddraw.check="true" - progressbar="true" - jnlpNumExtensions="1" - jnlpExtension1="jogl-all-awt.jnlp" - java_arguments="-Dsun.java2d.noddraw=true" gl_event_listener_class="com.jogamp.opengl.test.junit.graph.demos.GPUTextGLListener0A" gl_profile="GL2ES2" gl_swap_interval="1" diff --git a/jnlp-files/jogl-applet-runner-newt-GraphUISceneDemo01.html b/jnlp-files/jogl-applet-runner-newt-GraphUISceneDemo01.html index 0f050a98d..3efc951b4 100644 --- a/jnlp-files/jogl-applet-runner-newt-GraphUISceneDemo01.html +++ b/jnlp-files/jogl-applet-runner-newt-GraphUISceneDemo01.html @@ -12,19 +12,10 @@ JOGL Graph UI-Scene Demo 01 <P> <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="640" height="480"> - <param name="code" value="org.jdesktop.applet.util.JNLPAppletLauncher"> - <param name="archive" value="jar/applet-launcher.jar, - jar/gluegen-rt.jar, + <param name="code" value="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run"> + <param name="archive" value="jar/gluegen-rt.jar, jar/jogl-all.jar, jar/jogl-test.jar"> - <param name="codebase_lookup" value="false"> - <param name="subapplet.classname" value="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run"> - <param name="subapplet.displayname" value="JOGL Graph UI Demo01"> - <param name="noddraw.check" value="true"> - <param name="progressbar" value="true"> - <param name="jnlpNumExtensions" value="1"> - <param name="jnlpExtension1" value="jogl-all-awt.jnlp"> - <param name="java_arguments" value="-Dsun.java2d.noddraw=true"> <param name="gl_event_listener_class" value="com.jogamp.opengl.test.junit.graph.demos.GPUUISceneGLListener0A"> <param name="gl_profile" value="GL2ES2"> <param name="gl_swap_interval" value="1"> @@ -34,22 +25,13 @@ JOGL Graph UI-Scene Demo 01 <param name="gl_trace" value="false"> <param name="jnlp_href" value="jogl-applet-runner-newt.jnlp"> <comment> - <embed code="org.jdesktop.applet.util.JNLPAppletLauncher" + <embed code="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run" width="640" height="480" type="application/x-java-applet;version=1.6" pluginspage="http://java.sun.com/javase/downloads/ea.jsp" - archive="jar/applet-launcher.jar, - jar/gluegen-rt.jar, + archive="jar/gluegen-rt.jar, jar/jogl-all.jar, jar/jogl-test.jar" - codebase_lookup" value="false" - subapplet.classname="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run" - subapplet.displayname="JOGL Graph UI Demo01" - noddraw.check="true" - progressbar="true" - jnlpNumExtensions="1" - jnlpExtension1="jogl-all-awt.jnlp" - java_arguments="-Dsun.java2d.noddraw=true" gl_event_listener_class="com.jogamp.opengl.test.junit.graph.demos.GPUUISceneGLListener0A" gl_profile="GL2ES2" gl_swap_interval="1" diff --git a/jnlp-files/jogl-applet-runner-newt-MovieCube.html b/jnlp-files/jogl-applet-runner-newt-MovieCube.html index bb61fc143..ba9a25c5a 100644 --- a/jnlp-files/jogl-applet-runner-newt-MovieCube.html +++ b/jnlp-files/jogl-applet-runner-newt-MovieCube.html @@ -12,20 +12,11 @@ JogAmp's MovieCube - GLMediaPlayer Demo 01 <P> <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="510" height="300"> - <param name="code" value="org.jdesktop.applet.util.JNLPAppletLauncher"> - <param name="archive" value="jar/applet-launcher.jar, - jar/gluegen-rt.jar, + <param name="code" value="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run"> + <param name="archive" value="jar/gluegen-rt.jar, jar/joal.jar, jar/jogl-all.jar, jar/jogl-test.jar"> - <param name="codebase_lookup" value="false"> - <param name="subapplet.classname" value="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run"> - <param name="subapplet.displayname" value="MovieCube"> - <param name="noddraw.check" value="true"> - <param name="progressbar" value="true"> - <param name="jnlpNumExtensions" value="1"> - <param name="jnlpExtension1" value="jogl-all-awt.jnlp"> - <param name="java_arguments" value="-Dsun.java2d.noddraw=true"> <param name="gl_event_listener_class" value="com.jogamp.opengl.test.junit.jogl.demos.es2.av.MovieCube"> <param name="gl_profile" value="GL2ES2"> <param name="gl_swap_interval" value="1"> @@ -33,23 +24,14 @@ JogAmp's MovieCube - GLMediaPlayer Demo 01 <param name="gl_trace" value="false"> <param name="jnlp_href" value="jogl-applet-runner-newt.jnlp"> <comment> - <embed code="org.jdesktop.applet.util.JNLPAppletLauncher" + <embed code="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run" width="510" height="300" type="application/x-java-applet;version=1.6" pluginspage="http://java.sun.com/javase/downloads/ea.jsp" - archive="jar/applet-launcher.jar, - jar/gluegen-rt.jar, + archive="jar/gluegen-rt.jar, jar/joal.jar, jar/jogl-all.jar, jar/jogl-test.jar" - codebase_lookup" value="false" - subapplet.classname="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run" - subapplet.displayname="MovieCube" - noddraw.check="true" - progressbar="true" - jnlpNumExtensions="1" - jnlpExtension1="jogl-all-awt.jnlp" - java_arguments="-Dsun.java2d.noddraw=true" gl_event_listener_class="com.jogamp.opengl.test.junit.jogl.demos.es2.av.MovieCube" gl_profile="GL2ES2" gl_swap_interval="1" diff --git a/jnlp-files/jogl-applet-runner-newt-gears-normal-launcheronly.html b/jnlp-files/jogl-applet-runner-newt-gears-normal-launcheronly.html deleted file mode 100644 index 328228146..000000000 --- a/jnlp-files/jogl-applet-runner-newt-gears-normal-launcheronly.html +++ /dev/null @@ -1,146 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<html> -<head> -<title>JOGL NEWT JNLP Applet Runner - GearsES2 - normal - launcheronly</title> -</head> -<body BGCOLOR="#ffffff"> - -<P> -JOGL NEWT JNLP 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> - <li> c - change mouse pointer </li> - <li> i - invisible mouse pointer </li> - <li> w - warp mouse pointer to center </li> -</ul> -</P> - -<P> -<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" - width="200" height="200"> - <param name="code" value="org.jdesktop.applet.util.JNLPAppletLauncher"> - <param name="archive" value="jar/applet-launcher.jar, - jar/gluegen-rt.jar, - jar/jogl-all.jar, - jar/jogl-test.jar"> - <param name="codebase_lookup" value="false"> - <param name="subapplet.classname" value="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run"> - <param name="subapplet.displayname" value="JOGL GearsES2 Applet"> - <param name="noddraw.check" value="true"> - <param name="progressbar" value="true"> - <param name="jnlpNumExtensions" value="1"> - <param name="jnlpExtension1" value="jogl-all-awt.jnlp"> - <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="org.jdesktop.applet.util.JNLPAppletLauncher" - width="200" height="200" - type="application/x-java-applet;version=1.6" - pluginspage="http://java.sun.com/javase/downloads/ea.jsp" - archive="jar/applet-launcher.jar, - jar/gluegen-rt.jar, - jar/jogl-all.jar, - jar/jogl-test.jar" - codebase_lookup" value="false" - subapplet.classname="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run" - subapplet.displayname="JOGL GearsES2 Applet" - noddraw.check="true" - progressbar="true" - jnlpNumExtensions="1" - jnlpExtension1="jogl-all-awt.jnlp" - 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="org.jdesktop.applet.util.JNLPAppletLauncher"> - <param name="archive" value="jar/applet-launcher.jar, - jar/gluegen-rt.jar, - jar/jogl-all.jar, - jar/jogl-test.jar"> - <param name="codebase_lookup" value="false"> - <param name="subapplet.classname" value="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run"> - <param name="subapplet.displayname" value="JOGL GearsES2 Applet"> - <param name="noddraw.check" value="true"> - <param name="progressbar" value="true"> - <param name="jnlpNumExtensions" value="1"> - <param name="jnlpExtension1" value="jogl-all-awt.jnlp"> - <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="org.jdesktop.applet.util.JNLPAppletLauncher" - width="200" height="200" - type="application/x-java-applet;version=1.6" - pluginspage="http://java.sun.com/javase/downloads/ea.jsp" - archive="jar/applet-launcher.jar, - jar/gluegen-rt.jar, - jar/jogl-all.jar, - jar/jogl-test.jar" - codebase_lookup" value="false" - subapplet.classname="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run" - subapplet.displayname="JOGL GearsES2 Applet" - noddraw.check="true" - progressbar="true" - jnlpNumExtensions="1" - jnlpExtension1="jogl-all-awt.jnlp" - 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-demos.jar, which contains the GearsApplet 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 -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> -<P> - -The <a href="http://jogamp.org/applet-launcher/www/">JNLPAppletLauncher -home page</a> 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. - -</P> - -</body> -</html> diff --git a/jnlp-files/jogl-applet-runner-newt-gears-normal-napplet.html b/jnlp-files/jogl-applet-runner-newt-gears-normal-napplet.html index e1e9593de..113f49c6a 100644 --- a/jnlp-files/jogl-applet-runner-newt-gears-normal-napplet.html +++ b/jnlp-files/jogl-applet-runner-newt-gears-normal-napplet.html @@ -5,6 +5,10 @@ </head> <body BGCOLOR="#ffffff"> +<p> +Applet launching using <a href="http://jogamp.org/jogl/doc/deployment/JOGL-DEPLOYMENT.html#NApplets">NApplet</a>. +</p> + <P> JOGL NEWT Applet Runner Special Keys:<br> <ul> @@ -91,16 +95,23 @@ The applet above is instantiated with the following code: </pre> </P> -<P> - -Note that the jogl-test.jar, which contains the test applet class, +<p> +<del> +Note that the jogl-test.jar, which contains the GearsES2 class, <B>does not need to be signed</B>! JogAmp Community signs -jogl.jar and gluegen-rt.jar, which contain +jogl-all.jar and gluegen-rt.jar, which contain the 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> +</del><br/> +Sadly, due to Oracle's Java Applet Plugin update 7u51, +unsigned applets are no more allowed and effectively +lower the bar to create user applets with raised privileges.<br/> +Hence JogAmp Community <b>signs</b> jogl-all.jar and gluegen-rt.jar, which contain the +JOGL's supporting classes as well as jogl-test.jar, which contains the GearsES2 class.<br/> +jogl-test.jar's manifest file uses <i>Permissions: sandbox</i> +to <b>not raise privileges</b>. +</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 310e659ba..453f06971 100644 --- a/jnlp-files/jogl-applet-runner-newt-gears-normal.html +++ b/jnlp-files/jogl-applet-runner-newt-gears-normal.html @@ -5,21 +5,21 @@ </head> <body BGCOLOR="#ffffff"> -<P> -In case your <a href="https://jdk6.dev.java.net/plugin2/jnlp/">Java Plugin supports JNLP</a>, -the <em>jogl-applet-runner-newt.jnlp</em> is used, -otherwise it shall fallback to <a href="http://jogamp.org/applet-launcher/www/">JNLPAppletLauncher</a>. -</P> +<p> +In case your <a href="https://jdk6.dev.java.net/plugin2/jnlp/">Java Plugin supports JNLP</a>, +the <em>applet-gears.jnlp</em> is used, +otherwise it shall fallback to <a href="http://jogamp.org/jogl/doc/deployment/JOGL-DEPLOYMENT.html#NApplets">NApplets</a>. +</p> -<P> +<p> Note that it is important for the startup time to have the same JVM arguments in the applet tags, -as well as within the JNLP applet description, here see property <em>sun.java2d.noddraw</em>. <br> +as well as within the JNLP applet description. <br> Only if JVM arguments of the JNLP applet description are satisfied by the applet tag's JVM,<br> the plugin will not need to start a new JVM. OF course, the applet tag's JVM spec may exceed the JNLP applet's one. -</P> +</p> -<P> +<p> JOGL NEWT JNLP Applet Runner Special Keys:<br> <ul> <li> d - toggle decoration </li> @@ -30,24 +30,15 @@ JOGL NEWT JNLP Applet Runner Special Keys:<br> <li> i - invisible mouse pointer </li> <li> w - warp mouse pointer to center </li> </ul> -</P> +</p> -<P> +<p> <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="200" height="200"> - <param name="code" value="org.jdesktop.applet.util.JNLPAppletLauncher"> - <param name="archive" value="jar/applet-launcher.jar, - jar/gluegen-rt.jar, + <param name="code" value="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run"> + <param name="archive" value="jar/gluegen-rt.jar, jar/jogl-all.jar, jar/jogl-test.jar"> - <param name="codebase_lookup" value="false"> - <param name="subapplet.classname" value="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run"> - <param name="subapplet.displayname" value="JOGL GearsES2 Applet"> - <param name="noddraw.check" value="true"> - <param name="progressbar" value="true"> - <param name="jnlpNumExtensions" value="1"> - <param name="jnlpExtension1" value="jogl-all-awt.jnlp"> - <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"> @@ -55,22 +46,13 @@ JOGL NEWT JNLP Applet Runner Special Keys:<br> <param name="gl_trace" value="false"> <param name="jnlp_href" value="jogl-applet-runner-newt.jnlp"> <comment> - <embed code="org.jdesktop.applet.util.JNLPAppletLauncher" + <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/applet-launcher.jar, - jar/gluegen-rt.jar, + archive="jar/gluegen-rt.jar, jar/jogl-all.jar, jar/jogl-test.jar" - codebase_lookup" value="false" - subapplet.classname="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run" - subapplet.displayname="JOGL GearsES2 Applet" - noddraw.check="true" - progressbar="true" - jnlpNumExtensions="1" - jnlpExtension1="jogl-all-awt.jnlp" - 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" @@ -81,29 +63,19 @@ JOGL NEWT JNLP Applet Runner Special Keys:<br> </embed> </comment> </object> +</p> -</P> - -<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="org.jdesktop.applet.util.JNLPAppletLauncher"> - <param name="archive" value="jar/applet-launcher.jar, - jar/gluegen-rt.jar, + <param name="code" value="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run"> + <param name="archive" value="jar/gluegen-rt.jar, jar/jogl-all.jar, jar/jogl-test.jar"> - <param name="codebase_lookup" value="false"> - <param name="subapplet.classname" value="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run"> - <param name="subapplet.displayname" value="JOGL GearsES2 Applet"> - <param name="noddraw.check" value="true"> - <param name="progressbar" value="true"> - <param name="jnlpNumExtensions" value="1"> - <param name="jnlpExtension1" value="jogl-all-awt.jnlp"> - <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"> @@ -111,22 +83,13 @@ The applet above is instantiated with the following code: <param name="gl_trace" value="false"> <param name="jnlp_href" value="jogl-applet-runner-newt.jnlp"> <comment> - <embed code="org.jdesktop.applet.util.JNLPAppletLauncher" + <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/applet-launcher.jar, - jar/gluegen-rt.jar, + archive="jar/gluegen-rt.jar, jar/jogl-all.jar, jar/jogl-test.jar" - codebase_lookup" value="false" - subapplet.classname="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run" - subapplet.displayname="JOGL GearsES2 Applet" - noddraw.check="true" - progressbar="true" - jnlpNumExtensions="1" - jnlpExtension1="jogl-all-awt.jnlp" - 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" @@ -137,7 +100,6 @@ The applet above is instantiated with the following code: </embed> </comment> </object> - </pre> Where the referenced JNLP file <em>jogl-applet-runner-newt.jnlp</em> looks as follow: @@ -156,7 +118,6 @@ Where the referenced JNLP file <em>jogl-applet-runner-newt.jnlp</em> looks as fo <resources> <j2se href="http://java.sun.com/products/autodl/j2se" version="1.4+"/> - <property name="sun.java2d.noddraw" value="true"/> <jar href="jar/jogl-test.jar" main="true"/> <extension name="jogl-all-awt" href="http://jogamp.org/deployment/jogamp-current/jogl-all-awt.jnlp" /> </resources> @@ -170,25 +131,24 @@ Where the referenced JNLP file <em>jogl-applet-runner-newt.jnlp</em> looks as fo </jnlp> </pre> -</P> -<P> - -Note that the jogl-test.jar, which contains the test applet class, +</p> +<p> +<del> +Note that the jogl-test.jar, which contains the GearsES2 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 +jogl-all.jar and gluegen-rt.jar, which contain the +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> -<P> - -The <a href="http://jogamp.org/applet-launcher/www/">JNLPAppletLauncher -home page</a> 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. - -</P> +</del><br/> +Sadly, due to Oracle's Java Applet Plugin update 7u51, +unsigned applets are no more allowed and effectively +lower the bar to create user applets with raised privileges.<br/> +Hence JogAmp Community <b>signs</b> jogl-all.jar and gluegen-rt.jar, which contain the +JOGL's supporting classes as well as jogl-test.jar, which contains the GearsES2 class.<br/> +jogl-test.jar's manifest file uses <i>Permissions: sandbox</i> +to <b>not raise privileges</b>. +</p> </body> </html> diff --git a/jnlp-files/jogl-applet-runner-newt-gears-special.html b/jnlp-files/jogl-applet-runner-newt-gears-special.html index 01f37d6c7..6d6073e37 100644 --- a/jnlp-files/jogl-applet-runner-newt-gears-special.html +++ b/jnlp-files/jogl-applet-runner-newt-gears-special.html @@ -9,19 +9,10 @@ JOGL NEWT JNLP Applet Runner Special Keys: <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="1" height="1"> - <param name="code" value="org.jdesktop.applet.util.JNLPAppletLauncher"> - <param name="archive" value="jar/applet-launcher.jar, - jar/gluegen-rt.jar, + <param name="code" value="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run"> + <param name="archive" value="jar/gluegen-rt.jar, jar/jogl-all.jar, jar/jogl-test.jar"> - <param name="codebase_lookup" value="false"> - <param name="subapplet.classname" value="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run"> - <param name="subapplet.displayname" value="JOGL GearsES2 Applet Transparent"> - <param name="noddraw.check" value="true"> - <param name="progressbar" value="true"> - <param name="jnlpNumExtensions" value="1"> - <param name="jnlpExtension1" value="jogl-all-awt.jnlp"> - <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"> @@ -36,22 +27,13 @@ JOGL NEWT JNLP Applet Runner Special Keys: <param name="gl_trace" value="false"> <param name="jnlp_href" value="jogl-applet-runner-newt.jnlp"> <comment> - <embed code="org.jdesktop.applet.util.JNLPAppletLauncher" + <embed code="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run" width="1" height="1" type="application/x-java-applet;version=1.6" pluginspage="http://java.sun.com/javase/downloads/ea.jsp" - archive="jar/applet-launcher.jar, - jar/gluegen-rt.jar, + archive="jar/gluegen-rt.jar, jar/jogl-all.jar, jar/jogl-test.jar" - codebase_lookup" value="false" - subapplet.classname="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run" - subapplet.displayname="JOGL GearsES2 Applet Transparent" - noddraw.check="true" - progressbar="true" - jnlpNumExtensions="1" - jnlpExtension1="jogl-all-awt.jnlp" - 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" diff --git a/jnlp-files/jogl-applet-runner-newt.jnlp b/jnlp-files/jogl-applet-runner-newt.jnlp index d53febdbd..62e0942a4 100644 --- a/jnlp-files/jogl-applet-runner-newt.jnlp +++ b/jnlp-files/jogl-applet-runner-newt.jnlp @@ -12,7 +12,6 @@ <resources> <j2se href="http://java.sun.com/products/autodl/j2se" version="1.4+"/> - <property name="sun.java2d.noddraw" value="true"/> <jar href="jar/jogl-test.jar" main="true"/> <extension name="jogl-all-awt" href="jogl-all-awt.jnlp" /> </resources> diff --git a/jnlp-files/jogl-applet-version-lancheronly.html b/jnlp-files/jogl-applet-version-lancheronly.html deleted file mode 100644 index 6880152fc..000000000 --- a/jnlp-files/jogl-applet-version-lancheronly.html +++ /dev/null @@ -1,56 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<html> -<head> -<title>JOGL JNLP Applet Version (Launcher)</title> -</head> -<body> - -<P> -The applet below shall show you the version of the Jogl components -and your platform. -</P> -<p> -<a href="http://jogamp.org/applet-launcher/www/">JNLPAppletLauncher</a> only version. -</p> - -<P> - -<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" - width="800" height="600"> - <param name="code" value="org.jdesktop.applet.util.JNLPAppletLauncher"> - <param name="archive" value="jar/applet-launcher.jar, - jar/gluegen-rt.jar, - jar/jogl-all.jar"> - <param name="codebase_lookup" value="false"> - <param name="subapplet.classname" value="jogamp.opengl.awt.VersionApplet"> - <param name="subapplet.displayname" value="JOGL Applet Version"> - <param name="noddraw.check" value="true"> - <param name="progressbar" value="true"> - <param name="jnlpNumExtensions" value="1"> - <param name="jnlpExtension1" value="jogl-all-awt.jnlp"> - <param name="java_arguments" value="-Dsun.java2d.noddraw=true"> - <comment> - <embed code="org.jdesktop.applet.util.JNLPAppletLauncher" - width="800" height="600" - type="application/x-java-applet;version=1.6" - pluginspage="http://java.sun.com/javase/downloads/ea.jsp" - archive="jar/applet-launcher.jar, - jar/gluegen-rt.jar, - jar/jogl-all.jar" - codebase_lookup" value="false" - subapplet.classname="jogamp.opengl.awt.VersionApplet" - subapplet.displayname="JOGL Applet Version" - noddraw.check="true" - progressbar="true" - jnlpNumExtensions="1" - jnlpExtension1="jogl-all-awt.jnlp" - java_arguments="-Dsun.java2d.noddraw=true"> - <noembed>Sorry, no Java support detected.</noembed> - </embed> - </comment> -</object> - -</P> - -</body> -</html> diff --git a/jnlp-files/jogl-applet-version.html b/jnlp-files/jogl-applet-version.html index 948e63095..c55061037 100644 --- a/jnlp-files/jogl-applet-version.html +++ b/jnlp-files/jogl-applet-version.html @@ -19,35 +19,17 @@ otherwise it shall fallback to <a href="http://jogamp.org/applet-launcher/www/"> <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="800" height="600"> - <param name="code" value="org.jdesktop.applet.util.JNLPAppletLauncher"> - <param name="archive" value="jar/applet-launcher.jar, - jar/gluegen-rt.jar, + <param name="code" value="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run"> + <param name="archive" value="jar/gluegen-rt.jar, jar/jogl-all.jar"> - <param name="codebase_lookup" value="false"> - <param name="subapplet.classname" value="jogamp.opengl.awt.VersionApplet"> - <param name="subapplet.displayname" value="JOGL Applet Version"> - <param name="noddraw.check" value="true"> - <param name="progressbar" value="true"> - <param name="jnlpNumExtensions" value="1"> - <param name="jnlpExtension1" value="jogl-all-awt.jnlp"> - <param name="java_arguments" value="-Dsun.java2d.noddraw=true"> <param name="jnlp_href" value="jogl-applet-version.jnlp"> <comment> - <embed code="org.jdesktop.applet.util.JNLPAppletLauncher" + <embed code="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run" width="800" height="600" type="application/x-java-applet;version=1.6" pluginspage="http://java.sun.com/javase/downloads/ea.jsp" - archive="jar/applet-launcher.jar, - jar/gluegen-rt.jar, + archive="jar/gluegen-rt.jar, jar/jogl-all.jar" - codebase_lookup" value="false" - subapplet.classname="jogamp.opengl.awt.VersionApplet" - subapplet.displayname="JOGL Applet Version" - noddraw.check="true" - progressbar="true" - jnlpNumExtensions="1" - jnlpExtension1="jogl-all-awt.jnlp" - java_arguments="-Dsun.java2d.noddraw=true" jnlp_href="jogl-applet-version.jnlp"> <noembed>Sorry, no Java support detected.</noembed> </embed> diff --git a/jnlp-files/jogl-applet-version.jnlp b/jnlp-files/jogl-applet-version.jnlp index a06ea83e2..7d3ca3941 100644 --- a/jnlp-files/jogl-applet-version.jnlp +++ b/jnlp-files/jogl-applet-version.jnlp @@ -11,7 +11,6 @@ <resources> <j2se href="http://java.sun.com/products/autodl/j2se" version="1.4+"/> - <!-- property name="sun.java2d.noddraw" value="true"/--> <extension name="jogl-all-awt" href="JOGL_CODEBASE_TAG/jogl-all-awt.jnlp" /> </resources> diff --git a/jnlp-files/jogl-application-version.jnlp b/jnlp-files/jogl-application-version.jnlp index 3b3cb07c9..e6a52cc42 100644 --- a/jnlp-files/jogl-application-version.jnlp +++ b/jnlp-files/jogl-application-version.jnlp @@ -11,7 +11,6 @@ <resources> <j2se href="http://java.sun.com/products/autodl/j2se" version="1.4+"/> - <!-- property name="sun.java2d.noddraw" value="true"/--> <extension name="jogl-all-awt" href="JOGL_CODEBASE_TAG/jogl-all-awt.jnlp" /> </resources> diff --git a/jnlp-files/jogl-javaws-version.jnlp b/jnlp-files/jogl-javaws-version.jnlp index 10f228cca..e5f11fb69 100755 --- a/jnlp-files/jogl-javaws-version.jnlp +++ b/jnlp-files/jogl-javaws-version.jnlp @@ -11,7 +11,6 @@ <resources> <j2se href="http://java.sun.com/products/autodl/j2se" version="1.4+"/> - <!-- property name="sun.java2d.noddraw" value="true"/--> <extension name="jogl-all-awt" href="JOGL_CODEBASE_TAG/jogl-all-awt.jnlp" /> </resources> diff --git a/jnlp-files/jogl-test-applets.html b/jnlp-files/jogl-test-applets.html index 8eda51dee..106a56a01 100644 --- a/jnlp-files/jogl-test-applets.html +++ b/jnlp-files/jogl-test-applets.html @@ -52,9 +52,8 @@ See Legend below table </a> </td> <td> - <a href="jogl-applet-version.html">Dual</a><br/> - <a href="jogl-applet-version-lancheronly.html">LApplet</a><br/> <a href="jogl-applet-version-napplet.html">NApplet</a><br/> + <a href="jogl-applet-version.html">Dual</a><br/> <a href="jogl-application-version.jnlp">WebStart</a><br/> </td> <td> @@ -68,11 +67,10 @@ See Legend below table </a> </td> <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> (<a href="jogl-applet-runner-newt-gears-normal-napplet2.html">closeable</a>, <a href="jogl-applet-runner-newt-gears-gl3-napplet.html">force gl3</a>)<br/> + <a href="jogl-applet-runner-newt-gears-normal.html">Dual</a><br/> </td> <td> Classic OpenGL Gears for ES2 @@ -87,8 +85,8 @@ See Legend below table </a> </td> <td> - <a href="jogl-applet-runner-newt-gears-special.html">Dual</a><br/> <a href="jogl-applet-runner-newt-gears-special-napplet.html">NApplet</a><br/> + <a href="jogl-applet-runner-newt-gears-special.html">Dual</a><br/> </td> <td> Classic OpenGL Gears for ES2 @@ -102,8 +100,8 @@ See Legend below table </a> </td> <td> - <a href="jogl-applet-runner-newt-MovieCube.html">Dual</a><br/> <a href="jogl-applet-runner-newt-MovieCube-napplet.html">NApplet</a><br/> + <a href="jogl-applet-runner-newt-MovieCube.html">Dual</a><br/> </td> <td> Movie Cube using JOGL's GLMediaPlayer. @@ -126,9 +124,9 @@ See Legend below table </a> </td> <td> - <a href="jogl-applet-runner-newt-GraphTextDemo01.html">Dual</a><br/> <a href="jogl-applet-runner-newt-GraphTextDemo01-napplet.html">NApplet</a> (<a href="jogl-applet-runner-newt-GraphTextDemo01b-napplet.html">cp-fonts</a>)<br/> + <a href="jogl-applet-runner-newt-GraphTextDemo01.html">Dual</a><br/> </td> <td> GPU accelerated Text Demo using JOGL's new Graph package.<br/> @@ -142,8 +140,8 @@ See Legend below table </a> </td> <td> - <a href="jogl-applet-runner-newt-GraphUISceneDemo01.html">Dual</a><br/> <a href="jogl-applet-runner-newt-GraphUISceneDemo01-napplet.html">NApplet</a><br/> + <a href="jogl-applet-runner-newt-GraphUISceneDemo01.html">Dual</a><br/> </td> <td> Demonstration of GPU accelerated Text and UI rendering and interaction @@ -157,8 +155,8 @@ See Legend below table </a> </td> <td> - <a href="jogl-applet-runner-newt-ElektronenMultiplizierer.html">Dual</a><br/> <a href="jogl-applet-runner-newt-ElektronenMultiplizierer-napplet.html">NApplet</a><br/> + <a href="jogl-applet-runner-newt-ElektronenMultiplizierer.html">Dual</a><br/> </td> <td> Demoscene Passivist's ElektronenMultiplizierer @@ -179,19 +177,15 @@ Click on the <i>Launch</i> link to actually launch the demo.<br/> </tr> <tr> <td> JApplet </td> - <td> Applet using JNLP-Applet mechanism only. </td> + <td> Applet using <a href="https://jdk6.dev.java.net/plugin2/jnlp/">JNLP-Applet</a> mechanism. </td> </tr> <tr> - <td> LApplet </td> - <td> Applet using JOGL's Applet Launcher mechanism only. </td> + <td> <a href="http://jogamp.org/jogl/doc/deployment/JOGL-DEPLOYMENT.html#NApplets">NApplet</a> </td> + <td> Applet using traditional Applet/Object or Embed tag, where native JARs are post-loaded by GlueGen/JOGL. </td> </tr> <tr> <td> Dual </td> - <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> + <td> Applet using JNLP-Applet & JogAmp's <a href="http://jogamp.org/jogl/doc/deployment/JOGL-DEPLOYMENT.html#NApplets">NApplet</a> mechanism. (JApplet + NApplet) </td> </tr> <tr> <td> WebStart </td> diff --git a/make/build-test.xml b/make/build-test.xml index d4274cd76..2ae39d85a 100644 --- a/make/build-test.xml +++ b/make/build-test.xml @@ -85,6 +85,7 @@ <filter token="SCM_BRANCH" value="${jogl.build.branch}"/> <filter token="SCM_COMMIT" value="${jogl.build.commit}"/> <filter token="BASEVERSION" value="${jogamp.version.base}"/> + <filter token="JAR_CODEBASE_TAG" value="${jogamp.jar.codebase}"/> </filterset> </copy> diff --git a/make/joglversion b/make/joglversion index 079f9de78..c8c6f9251 100644 --- a/make/joglversion +++ b/make/joglversion @@ -15,3 +15,4 @@ Implementation-Vendor-Id: com.jogamp Trusted-Library: true Permissions: all-permissions @JAR_CODEBASE_TAG@ + diff --git a/make/joglversion-all b/make/joglversion-all index 079f9de78..c8c6f9251 100644 --- a/make/joglversion-all +++ b/make/joglversion-all @@ -15,3 +15,4 @@ Implementation-Vendor-Id: com.jogamp Trusted-Library: true Permissions: all-permissions @JAR_CODEBASE_TAG@ + diff --git a/make/joglversion-test b/make/joglversion-test index d0fe02cac..e04b4a594 100644 --- a/make/joglversion-test +++ b/make/joglversion-test @@ -12,4 +12,6 @@ Implementation-Vendor: JogAmp Community Implementation-URL: http://jogamp.org/ Extension-Name: com.jogamp.opengl.test Implementation-Vendor-Id: com.jogamp -Permissions: all-permissions +Permissions: sandbox +@JAR_CODEBASE_TAG@ + |