From 926bf101da90eb450d1700d2ddc1242c9e18a2cb Mon Sep 17 00:00:00 2001
From: Sven Gothel
-
-
-
-
-
-
-
diff --git a/jnlp-files/applet-gears-launcheronly.html b/jnlp-files/applet-gears-launcheronly.html
new file mode 100644
index 0000000..5146e43
--- /dev/null
+++ b/jnlp-files/applet-gears-launcheronly.html
@@ -0,0 +1,87 @@
+
+
+
+
+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://jogamp.org/deployment/jogamp-current/jar/applet-launcher.jar,
+ http://jogamp.org/deployment/jogamp-current/jar/gluegen-rt.jar,
+ http://jogamp.org/deployment/jogamp-current/jar/jogl.all.jar,
+ http://jogamp.org/deployment/jogamp-current/jogl-demos/jar/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://jogamp.org/deployment/jogamp-current/jogl-all-awt.jnlp">
+ <param name="java_arguments" value="-Dsun.java2d.noddraw=true">
+</applet>
+
+
+
+ +Note that the jogl-demos.jar, which contains the GearsApplet class, +does not need to be signed! 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. + +
++ +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. + +
+ + + diff --git a/jnlp-files/applet-gears.html b/jnlp-files/applet-gears.html new file mode 100644 index 0000000..eb27188 --- /dev/null +++ b/jnlp-files/applet-gears.html @@ -0,0 +1,121 @@ + + + ++In case your Java Plugin supports JNLP, +the applet-gears.jnlp is used, +otherwise it shall fallback to JNLPAppletLauncher. +
+ +
+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 sun.java2d.noddraw.
+Only if JVM arguments of the JNLP applet description are satisfied by the applet tag's JVM,
+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.
+
+ + + +
++ +The applet above is instantiated with the following code: + +
+<applet code="org.jdesktop.applet.util.JNLPAppletLauncher" + width=600 + height=400 + archive="http://jogamp.org/deployment/jogamp-current/jar/applet-launcher.jar, + http://jogamp.org/deployment/jogamp-current/jar/gluegen-rt.jar, + http://jogamp.org/deployment/jogamp-current/jar/jogl.all.jar, + http://jogamp.org/deployment/jogamp-current/jogl-demos/jar/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://jogamp.org/deployment/jogamp-current/jogl-all-awt.jnlp"> + <param name="java_arguments" value="-Dsun.java2d.noddraw=true"> + <param name="jnlp_href" value="applet-gears.jnlp"> +</applet> ++ +Where the referenced JNLP file applet-gears.jnlp looks as follow: + +
+<?xml version="1.0" encoding="utf-8"?> +<jnlp href="applet-gears.jnlp"> + <information> + <title>JOGL JNLP Applet Gears Demo</title> + <vendor>JogAmp Community</vendor> + <homepage href="http://jogamp.org/jogl-demos/"/> + <description>Gears Demo</description> + <description kind="short">Brian Paul's Gears demo ported to Java and JOGL.</description> + <offline-allowed/> + </information> + + <resources> + <j2se href="http://java.sun.com/products/autodl/j2se" version="1.4+"/> + <property name="sun.java2d.noddraw" value="true"/> + <jar href="http://jogamp.org/deployment/jogamp-current/jogl-demos/jar/jogl-demos.jar" main="true"/> + <jar href="http://jogamp.org/deployment/jogamp-current/jogl-demos/jar/jogl-demos-util.jar"/> + <extension name="newt-all-awt" href="http://jogamp.org/deployment/jogamp-current/jogl-all-awt.jnlp" /> + </resources> + + <applet-desc + name="Gears-Applet" + main-class="demos.applets.GearsApplet" + width="640" + height="480"> + </applet-desc> +</jnlp> ++ + +
+ +Note that the jogl-demos.jar, which contains the GearsApplet class, +does not need to be signed! 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. + +
++ +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. + +
+ + + diff --git a/jnlp-files/applet-gears.jnlp b/jnlp-files/applet-gears.jnlp index 122a9db..bb8246d 100644 --- a/jnlp-files/applet-gears.jnlp +++ b/jnlp-files/applet-gears.jnlp @@ -1,5 +1,5 @@ -- - - -
-- - - diff --git a/jnlp-files/applet-gearsjoal-laucheronly.html b/jnlp-files/applet-gearsjoal-laucheronly.html new file mode 100644 index 0000000..b6af723 --- /dev/null +++ b/jnlp-files/applet-gearsjoal-laucheronly.html @@ -0,0 +1,101 @@ + + +
++ +The new JNLPAppletLauncher +supports deployment of high-end applets using arbitrary extensions +such as JOGL for 3D graphics and JOAL for spatialized audio. The +user's applet does not have to be signed, and no manual installation +of software on the user's machine is necessary. Combined JOGL and JOAL +applets are supported by the JNLPAppletLauncher on all OS and CPU +combinations where these libraries are supported: currently +Windows/x86, Linux/x86, and Mac OS X, both PowerPC and Intel. + +
++ +Here is a simple example of an applet which combines both OpenGL +rendering and OpenAL audio: + +
++ + + + +
++ +The applet above is instantiated with the following code: + +
+<applet code="org.jdesktop.applet.util.JNLPAppletLauncher" + width=600 + height=400 + archive="http://jogamp.org/deployment/jogamp-current/jar/applet-launcher.jar, + http://jogamp.org/deployment/jogamp-current/jar/gluegen-rt.jar, + http://jogamp.org/deployment/jogamp-current/jar/jogl.all.jar, + http://jogamp.org/deployment/jogamp-current/jar/joal.jar, + http://jogamp.org/deployment/jogamp-current/jogl-demos/jar/jogl-demos.jar"> + <param name="codebase_lookup" value="false"> + <param name="subapplet.classname" VALUE="demos.applets.GearsJOALApplet"> + <param name="subapplet.displayname" VALUE="JOGL / JOAL Gears Applet"> + <param name="noddraw.check" value="true"> + <param name="progressbar" value="true"> + <param name="jnlpNumExtensions" value="2"> + <param name="jnlpExtension1" + value="http://jogamp.org/deployment/jogamp-current/jogl-all-awt.jnlp"> + <param name="jnlpExtension2" + value="http://jogamp.org/deployment/jogamp-current/joal.jnlp"> + <param name="java_arguments" value="-Dsun.java2d.noddraw=true"> +</applet> ++ + +
+ +Note that the jogl-demos.jar and joal-demos.jar files, which contain +the applet's classes, do not need to be signed! JogAmp Community +signs applet-launcher.jar, jogl.jar, joal.jar and +gluegen-rt.jar, which contain the JNLPAppletLauncher, JOGL, JOAL and +supporting classes; this is the only Java code which needs to be +signed in order to deploy applets using JOGL and JOAL 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. + +
+ + + diff --git a/jnlp-files/applet-gearsjoal.html b/jnlp-files/applet-gearsjoal.html new file mode 100644 index 0000000..551d7a0 --- /dev/null +++ b/jnlp-files/applet-gearsjoal.html @@ -0,0 +1,84 @@ + + + ++ + + +
++ +The applet above is instantiated with the following code: + +
+<applet code="org.jdesktop.applet.util.JNLPAppletLauncher" + width=600 + height=400 + archive="http://jogamp.org/deployment/jogamp-current/jar/applet-launcher.jar, + http://jogamp.org/deployment/jogamp-current/jar/gluegen-rt.jar, + http://jogamp.org/deployment/jogamp-current/jar/jogl.all.jar, + http://jogamp.org/deployment/jogamp-current/jar/joal.jar, + http://jogamp.org/deployment/jogamp-current/jogl-demos/jar/jogl-demos.jar"> + <param name="codebase_lookup" value="false"> + <param name="subapplet.classname" VALUE="demos.applets.GearsJOALApplet"> + <param name="subapplet.displayname" VALUE="JOGL / JOAL Gears Applet"> + <param name="noddraw.check" value="true"> + <param name="progressbar" value="true"> + <param name="jnlpNumExtensions" value="2"> + <param name="jnlpExtension1" + value="http://jogamp.org/deployment/jogamp-current/jogl-all-awt.jnlp"> + <param name="jnlpExtension2" + value="http://jogamp.org/deployment/jogamp-current/joal.jnlp"> + <param name="java_arguments" value="-Dsun.java2d.noddraw=true"> + <param name="jnlp_href" value="applet-gearsjoal.jnlp"> +</applet> ++ + +
+ +Note that the jogl-demos.jar and joal-demos.jar files, which contain +the applet's classes, do not need to be signed! JogAmp Community +signs applet-launcher.jar, jogl.jar, joal.jar and +gluegen-rt.jar, which contain the JNLPAppletLauncher, JOGL, JOAL and +supporting classes; this is the only Java code which needs to be +signed in order to deploy applets using JOGL and JOAL 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. + +
+ + + + diff --git a/jnlp-files/applet-gearsjoal.jnlp b/jnlp-files/applet-gearsjoal.jnlp index 40f3d2c..c097256 100644 --- a/jnlp-files/applet-gearsjoal.jnlp +++ b/jnlp-files/applet-gearsjoal.jnlp @@ -1,5 +1,5 @@ -+ + + +
+
+
+
+
diff --git a/jnlp-files/applet-redsquare-newtawt.jnlp b/jnlp-files/applet-redsquare-newtawt.jnlp
new file mode 100644
index 0000000..f184960
--- /dev/null
+++ b/jnlp-files/applet-redsquare-newtawt.jnlp
@@ -0,0 +1,26 @@
+
+
diff --git a/jnlp-files/jogl-newt-applet-runner.jnlp b/jnlp-files/jogl-newt-applet-runner.jnlp
index c3c70da..523ed59 100644
--- a/jnlp-files/jogl-newt-applet-runner.jnlp
+++ b/jnlp-files/jogl-newt-applet-runner.jnlp
@@ -1,20 +1,20 @@
-
+ Test page for JOGL demos
+
+ Version
+
+
+
+
+
+
+