From 424a5ecbd7575eb39343638696c19cd617577912 Mon Sep 17 00:00:00 2001
From: Sven Gothel <sgothel@jausoft.com>
Date: Fri, 23 Sep 2011 17:56:54 +0200
Subject: Add NApplet launch variant to all applets

---
 ...nner-newt-ElektronenMultiplizierer-napplet.html | 67 ++++++++++++++++++++
 ...applet-runner-newt-GraphTextDemo01-napplet.html | 68 +++++++++++++++++++++
 ...let-runner-newt-GraphUISceneDemo01-napplet.html | 69 +++++++++++++++++++++
 ...l-applet-runner-newt-gears-special-napplet.html | 71 ++++++++++++++++++++++
 jnlp-files/jogl-applet-version-napplet.html        | 61 +++++++++++++++++++
 jnlp-files/jogl-test-applets.html                  |  5 ++
 6 files changed, 341 insertions(+)
 create mode 100644 jnlp-files/jogl-applet-runner-newt-ElektronenMultiplizierer-napplet.html
 create mode 100644 jnlp-files/jogl-applet-runner-newt-GraphTextDemo01-napplet.html
 create mode 100644 jnlp-files/jogl-applet-runner-newt-GraphUISceneDemo01-napplet.html
 create mode 100644 jnlp-files/jogl-applet-runner-newt-gears-special-napplet.html
 create mode 100644 jnlp-files/jogl-applet-version-napplet.html

diff --git a/jnlp-files/jogl-applet-runner-newt-ElektronenMultiplizierer-napplet.html b/jnlp-files/jogl-applet-runner-newt-ElektronenMultiplizierer-napplet.html
new file mode 100644
index 000000000..0f7fb0fe5
--- /dev/null
+++ b/jnlp-files/jogl-applet-runner-newt-ElektronenMultiplizierer-napplet.html
@@ -0,0 +1,67 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+<head>
+<title>Demoscene Passivist's Elektronen-Multiplizierer (NApplet)</title>
+</head>
+<body  BGCOLOR="#ffffff">
+
+<P>
+Demoscene Passivist's Elektronen-Multiplizierer
+</P>
+
+<P>
+<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
+      width="640" height="480">
+   <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.ElektronenMultiplizierer">
+   <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="640" height="480"
+          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"
+          codebase_lookup" value="false"
+          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"
+          gl_debug="false"
+          gl_trace="false">
+        <noembed>Sorry, no Java support detected.</noembed>
+     </embed>
+   </comment>
+</object>
+
+</P>
+
+<P>
+ElektronenMultiplizierer Keys:<br>
+<ul>
+        <li> Cursor-Left  - time backwards</li>
+        <li> Cursor-Right - time forward</li>
+</ul>
+</P>
+<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>
+</ul>
+</P>
+
+</body>
+</html>
diff --git a/jnlp-files/jogl-applet-runner-newt-GraphTextDemo01-napplet.html b/jnlp-files/jogl-applet-runner-newt-GraphTextDemo01-napplet.html
new file mode 100644
index 000000000..e32174134
--- /dev/null
+++ b/jnlp-files/jogl-applet-runner-newt-GraphTextDemo01-napplet.html
@@ -0,0 +1,68 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+<head>
+<title>JOGL Graph Text Demo 01 (NApplet)</title>
+</head>
+<body  BGCOLOR="#ffffff">
+
+<P>
+JOGL Graph Text Demo 01
+</P>
+
+<P>
+<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
+      width="800" height="400">
+   <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.graph.demos.GPUTextGLListener0A">
+   <param name="gl_profile" value="GL2ES2">
+   <param name="gl_swap_interval" value="1">
+   <param name="gl_alpha" value="4">
+   <param name="gl_multisamplebuffer" value="4">
+   <param name="gl_nodefaultkeyListener" value="true">
+   <param name="gl_debug" value="false">
+   <param name="gl_trace" value="false">
+   <comment>
+     <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/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.graph.demos.GPUTextGLListener0A"
+          gl_profile="GL2ES2"
+          gl_swap_interval="1"
+          gl_alpha="4"
+          gl_multisamplebuffer="4"
+          gl_nodefaultkeyListener="true"
+          gl_debug="false"
+          gl_trace="false">
+        <noembed>Sorry, no Java support detected.</noembed>
+     </embed>
+   </comment>
+</object>
+</P>
+
+<P>
+Graph Text Demo Keys:<br>
+<ul>
+    <li> 1/2     - zoom in/out red-text </li>
+    <li> 6/7     - edit texture size if using VBAA (nope) </li>
+    <li> 0/9     - rotate the red-text </li>
+    <li> v       - toggle vsync </li>
+    <li> i       - live text input (CR ends it, backspace supported)</li>
+    <li> f       - toggle fps </li>
+    <li> h       - change text</li>
+    <li> space   - change font</li>
+</ul>
+</P>
+
+</body>
+</html>
diff --git a/jnlp-files/jogl-applet-runner-newt-GraphUISceneDemo01-napplet.html b/jnlp-files/jogl-applet-runner-newt-GraphUISceneDemo01-napplet.html
new file mode 100644
index 000000000..784678ed2
--- /dev/null
+++ b/jnlp-files/jogl-applet-runner-newt-GraphUISceneDemo01-napplet.html
@@ -0,0 +1,69 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+<head>
+<title>JOGL Graph UI-Scene Demo 01 (NApplet)</title>
+</head>
+<body  BGCOLOR="#ffffff">
+
+<P>
+JOGL Graph UI-Scene Demo 01
+</P>
+
+<P>
+<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
+      width="640" height="480">
+   <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.graph.demos.GPUUISceneGLListener0A">
+   <param name="gl_profile" value="GL2ES2">
+   <param name="gl_swap_interval" value="1">
+   <param name="gl_alpha" value="4">
+   <param name="gl_multisamplebuffer" value="4">
+   <param name="gl_debug" value="false">
+   <param name="gl_trace" value="false">
+   <comment>
+     <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/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.graph.demos.GPUUISceneGLListener0A"
+          gl_profile="GL2ES2"
+          gl_swap_interval="1"
+          gl_alpha="4"
+          gl_multisamplebuffer="4"
+          gl_debug="false"
+          gl_trace="false">
+        <noembed>Sorry, no Java support detected.</noembed>
+     </embed>
+   </comment>
+</object>
+
+</P>
+
+<P>
+Graph UI-Scene Demo Keys:<br>
+<ul>
+    <li> none - use mouse </li>
+</ul>
+</P>
+<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>
+</ul>
+</P>
+
+</body>
+</html>
diff --git a/jnlp-files/jogl-applet-runner-newt-gears-special-napplet.html b/jnlp-files/jogl-applet-runner-newt-gears-special-napplet.html
new file mode 100644
index 000000000..4190fb6e4
--- /dev/null
+++ b/jnlp-files/jogl-applet-runner-newt-gears-special-napplet.html
@@ -0,0 +1,71 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+<head>
+<title>JOGL NEWT JNLP Applet Runner - GearsES2 - special (NApplet)</title>
+</head>
+<body  BGCOLOR="#ffffff">
+
+<P>
+JOGL NEWT JNLP Applet Runner Special Keys:
+<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
+      width="1" height="1">
+   <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_undecorated" value="true">
+   <param name="gl_opaque" value="false">
+   <param name="gl_alwaysontop" value="true">
+   <param name="gl_dx" value="0">
+   <param name="gl_dy" value="-50">
+   <param name="gl_width" value="200">
+   <param name="gl_height" value="200">
+   <param name="gl_debug" value="false">
+   <param name="gl_trace" value="false">
+   <comment>
+     <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/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_undecorated="true"
+          gl_opaque="false"
+          gl_alwaysontop="true"
+          gl_dx="0"
+          gl_dy="-50"
+          gl_width="200"
+          gl_height="200"
+          gl_debug="false"
+          gl_trace="false">
+        <noembed>Sorry, no Java support detected.</noembed>
+     </embed>
+   </comment>
+</object> Hello Gears - Hello Gears - Hello Gears
+<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>
+Normal webpage text - Normal webpage text - Normal webpage text - Normal webpage text<br>
+Normal webpage text - Normal webpage text - Normal webpage text - Normal webpage text<br>
+Normal webpage text - Normal webpage text - Normal webpage text - Normal webpage text<br>
+Normal webpage text - Normal webpage text - Normal webpage text - Normal webpage text<br>
+</P>
+
+
+</body>
+</html>
diff --git a/jnlp-files/jogl-applet-version-napplet.html b/jnlp-files/jogl-applet-version-napplet.html
new file mode 100644
index 000000000..e8104cb60
--- /dev/null
+++ b/jnlp-files/jogl-applet-version-napplet.html
@@ -0,0 +1,61 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+<head>
+<title>JOGL JNLP Applet Version (NApplet)</title>
+</head>
+<body>
+
+<P>
+The applet below shall show you the version of the Jogl components
+and your platform.
+</P>
+
+<P>
+
+<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
+      width="800" height="600">
+   <param name="code" value="jogamp.opengl.awt.VersionApplet">
+   <param name="archive" value="jar/gluegen-rt.jar,
+                                jar/jogl.all.jar">
+   <param name="java_arguments" value="-Dsun.java2d.noddraw=true">
+   <comment>
+     <embed code="jogamp.opengl.awt.VersionApplet"
+          width="800" height="600"
+          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"
+          java_arguments="-Dsun.java2d.noddraw=true">
+        <noembed>Sorry, no Java support detected.</noembed>
+     </embed>
+   </comment>
+</object>
+
+</P>
+<P>
+
+The applet above is instantiated with the following code:
+
+<pre>
+&lt;object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
+      width="800" height="600"&gt;
+   &lt;param name="code" value="jogamp.opengl.awt.VersionApplet"&gt;
+   &lt;param name="archive" value="jar/gluegen-rt.jar,
+                                jar/jogl.all.jar"&gt;
+   &lt;param name="java_arguments" value="-Dsun.java2d.noddraw=true"&gt;
+   &lt;comment&gt;
+     &lt;embed code="jogamp.opengl.awt.VersionApplet"
+          width="800" height="600"
+          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"
+          java_arguments="-Dsun.java2d.noddraw=true"&gt;
+        &lt;noembed&gt;Sorry, no Java support detected.&lt;/noembed&gt;
+     &lt;/embed&gt;
+   &lt;/comment&gt;
+&lt;/object&gt;
+</pre>
+</P>
+</body>
+</html>
diff --git a/jnlp-files/jogl-test-applets.html b/jnlp-files/jogl-test-applets.html
index 2ae63a6b9..70bf1c017 100644
--- a/jnlp-files/jogl-test-applets.html
+++ b/jnlp-files/jogl-test-applets.html
@@ -54,6 +54,7 @@ See Legend below table
             <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-application-version.jnlp">WebStart</a><br/>
             </td>
             <td>
@@ -85,6 +86,7 @@ See Legend below table
             </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/>
             </td>
             <td>
                 Classic OpenGL Gears for ES2 
@@ -109,6 +111,7 @@ See Legend below table
             </td>
             <td>
                 <a href="jogl-applet-runner-newt-GraphTextDemo01.html">Dual</a><br/>
+                <a href="jogl-applet-runner-newt-GraphTextDemo01-napplet.html">NApplet</a><br/>
             </td>
             <td>
                 GPU accelerated Text Demo using JOGL's new Graph package.
@@ -122,6 +125,7 @@ See Legend below table
             </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/>
             </td>
             <td>
                 Demonstration of GPU accelerated Text and UI rendering and interaction
@@ -136,6 +140,7 @@ See Legend below table
             </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/>
             </td>
             <td>
                 Demoscene Passivist's ElektronenMultiplizierer
-- 
cgit v1.2.3