diff options
author | Sven Gothel <[email protected]> | 2009-07-03 19:15:43 +0000 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2009-07-03 19:15:43 +0000 |
commit | 02dc33b6f1457c2c943ad3e228c9096f43a6fdd6 (patch) | |
tree | 2b943a58e4dca97e133ac30b3d1bbf9ca32eec4d /www | |
parent | 9114cbf6c4c35f7952b9e32f89e5a8147bec446c (diff) |
Fix JNLP applet
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@363 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
Diffstat (limited to 'www')
-rw-r--r-- | www/applettest-jnlp-next.html | 5 | ||||
-rw-r--r-- | www/applettest-jnlp.html | 41 | ||||
-rw-r--r-- | www/applettest-joal-next.html | 7 | ||||
-rw-r--r-- | www/applettest-joal.html | 7 | ||||
-rw-r--r-- | www/applettest-next.html | 5 | ||||
-rw-r--r-- | www/applettest.html | 10 |
6 files changed, 65 insertions, 10 deletions
diff --git a/www/applettest-jnlp-next.html b/www/applettest-jnlp-next.html index ae80cf1..9df3922 100644 --- a/www/applettest-jnlp-next.html +++ b/www/applettest-jnlp-next.html @@ -11,6 +11,7 @@ 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-next/nativewindow.all.jar, http://download.java.net/media/jogl/jsr-231-2.x-webstart-next/jogl.all.jar, http://download.java.net/media/gluegen/webstart-2.x-next/gluegen-rt.jar, http://download.java.net/media/jogl/jsr-231-2.x-demos-webstart-next/jogl-demos.jar"> @@ -19,8 +20,10 @@ <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="jnlpNumExtensions" value="2"> <param name="jnlpExtension1" + value="http://download.java.net/media/jogl/jsr-231-2.x-webstart-next/nativewindow.jnlp"> + <param name="jnlpExtension2" value="http://download.java.net/media/jogl/jsr-231-2.x-webstart-next/jogl-core.jnlp"> <param name="jnlp_href" value="applet-gears-next.jnlp"> </applet> diff --git a/www/applettest-jnlp.html b/www/applettest-jnlp.html index e18774c..8584a16 100644 --- a/www/applettest-jnlp.html +++ b/www/applettest-jnlp.html @@ -18,6 +18,7 @@ otherwise it shall fallback to <a href="http://applet-launcher.dev.java.net">JNL 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"> @@ -26,8 +27,10 @@ otherwise it shall fallback to <a href="http://applet-launcher.dev.java.net">JNL <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="jnlpNumExtensions" value="2"> <param name="jnlpExtension1" + value="http://download.java.net/media/jogl/jsr-231-2.x-webstart/nativewindow.jnlp"> + <param name="jnlpExtension2" value="http://download.java.net/media/jogl/jsr-231-2.x-webstart/jogl-core.jnlp"> <param name="jnlp_href" value="applet-gears.jnlp"> </applet> @@ -42,6 +45,7 @@ The applet above is instantiated with the following code: 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"> @@ -50,13 +54,46 @@ The applet above is instantiated with the following code: <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="jnlpNumExtensions" value="2"> <param name="jnlpExtension1" + value="http://download.java.net/media/jogl/jsr-231-2.x-webstart/nativewindow.jnlp"> + <param name="jnlpExtension2" value="http://download.java.net/media/jogl/jsr-231-2.x-webstart/jogl-core.jnlp"> <param name="jnlp_href" value="applet-gears.jnlp"> </applet> </pre> +Where the referenced JNLP file <em>applet-gears.jnlp</em> looks as follow: + +<pre> +<?xml version="1.0" encoding="utf-8"?> +<jnlp href="applet-gears.jnlp"> + <information> + <title>JOGL JNLP Applet Gears Demo</title> + <vendor>Sun Microsystems, Inc.</vendor> + <homepage href="http://jogl-demos.dev.java.net/"/> + <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://download.java.net/media/jogl/jsr-231-2.x-demos-webstart/jogl-demos.jar" main="true"/> + <jar href="http://download.java.net/media/jogl/jsr-231-2.x-demos-webstart/jogl-demos-util.jar"/> + <extension name="jogl-all-awt" href="http://download.java.net/media/jogl/jsr-231-2.x-webstart/jogl-all-awt.jnlp" /> + </resources> + + <applet-desc + name="Gears-Applet" + main-class="demos.applets.GearsApplet" + width="640" + height="480"> + </applet-desc> +</jnlp> +</pre> + </P> <P> diff --git a/www/applettest-joal-next.html b/www/applettest-joal-next.html index 3cc96ee..120e806 100644 --- a/www/applettest-joal-next.html +++ b/www/applettest-joal-next.html @@ -11,6 +11,7 @@ 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-next/nativewindow.all.jar, http://download.java.net/media/jogl/jsr-231-2.x-webstart-next/jogl.all.jar, http://download.java.net/media/gluegen/webstart-2.x-next/gluegen-rt.jar, http://download.java.net/media/jogl/jsr-231-2.x-demos-webstart-next/jogl-demos.jar, @@ -21,10 +22,12 @@ <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="jnlpNumExtensions" value="3"> <param name="jnlpExtension1" - value="http://download.java.net/media/jogl/jsr-231-2.x-webstart-next/jogl-core.jnlp"> + value="http://download.java.net/media/jogl/jsr-231-2.x-webstart-next/nativewindow.jnlp"> <param name="jnlpExtension2" + value="http://download.java.net/media/jogl/jsr-231-2.x-webstart-next/jogl-core.jnlp"> + <param name="jnlpExtension3" value="http://download.java.net/media/joal/webstart/joal.jnlp"> </applet> diff --git a/www/applettest-joal.html b/www/applettest-joal.html index 6a3d517..b2c68a7 100644 --- a/www/applettest-joal.html +++ b/www/applettest-joal.html @@ -30,6 +30,7 @@ rendering and OpenAL audio: 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, @@ -40,10 +41,12 @@ rendering and OpenAL audio: <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="jnlpNumExtensions" value="3"> <param name="jnlpExtension1" - value="http://download.java.net/media/jogl/jsr-231-2.x-webstart/jogl-core.jnlp"> + value="http://download.java.net/media/jogl/jsr-231-2.x-webstart/nativewindow.jnlp"> <param name="jnlpExtension2" + value="http://download.java.net/media/jogl/jsr-231-2.x-webstart/jogl-core.jnlp"> + <param name="jnlpExtension3" value="http://download.java.net/media/joal/webstart/joal.jnlp"> </applet> diff --git a/www/applettest-next.html b/www/applettest-next.html index 227dd13..1bacbc0 100644 --- a/www/applettest-next.html +++ b/www/applettest-next.html @@ -11,6 +11,7 @@ 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-next/nativewindow.all.jar, http://download.java.net/media/jogl/jsr-231-2.x-webstart-next/jogl.all.jar, http://download.java.net/media/gluegen/webstart-2.x-next/gluegen-rt.jar, http://download.java.net/media/jogl/jsr-231-2.x-demos-webstart-next/jogl-demos.jar"> @@ -19,8 +20,10 @@ <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="jnlpNumExtensions" value="2"> <param name="jnlpExtension1" + value="http://download.java.net/media/jogl/jsr-231-2.x-webstart-next/nativewindow.jnlp"> + <param name="jnlpExtension2" value="http://download.java.net/media/jogl/jsr-231-2.x-webstart-next/jogl-core.jnlp"> </applet> diff --git a/www/applettest.html b/www/applettest.html index 81fbce9..49cb302 100644 --- a/www/applettest.html +++ b/www/applettest.html @@ -24,6 +24,7 @@ as an applet: 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"> @@ -32,8 +33,10 @@ as an applet: <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="jnlpNumExtensions" value="2"> <param name="jnlpExtension1" + value="http://download.java.net/media/jogl/jsr-231-2.x-webstart/nativewindow.jnlp"> + <param name="jnlpExtension2" value="http://download.java.net/media/jogl/jsr-231-2.x-webstart/jogl-core.jnlp"> </applet> @@ -47,6 +50,7 @@ The applet above is instantiated with the following code: 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"> @@ -55,8 +59,10 @@ The applet above is instantiated with the following code: <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="jnlpNumExtensions" value="2"> <param name="jnlpExtension1" + value="http://download.java.net/media/jogl/jsr-231-2.x-webstart/nativewindow.jnlp"> + <param name="jnlpExtension2" value="http://download.java.net/media/jogl/jsr-231-2.x-webstart/jogl-core.jnlp"> </applet> </pre> |