Jogamp
cleanup www and jnlp-files folder, dropping all jnlp/html code to jnlp-files
[jogl-demos.git] / jnlp-files / applet-gears-launcheronly.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <html>
3 <head>
4 <title>JOGL Applet Test</title>
5 </head>
6 <body>
7
8 <P>
9
10 The new <a
11 href="http://jogamp.org/applet-launcher/www/">JNLPAppletLauncher</a>
12 enables the creation and deployment of applets using 3D graphics via
13 OpenGL without requiring the applet to be signed or performing any
14 manual installation of software on users' computers. It has been
15 tested and should work on any OS/CPU combination supported by JOGL
16 with a Java Runtime Environment version 1.4.2 or later installed into
17 the web browser. Here is an example of the standard Gears demo running
18 as an applet:
19
20 </P>
21 <P>
22
23 <applet code="org.jdesktop.applet.util.JNLPAppletLauncher"
24       width=600
25       height=400
26       archive="../jar/applet-launcher.jar,
27                ../jar/gluegen-rt.jar,
28                ../jar/jogl.all.jar,
29                jar/jogl-demos.jar">
30    <param name="codebase_lookup" value="false">
31    <param name="subapplet.classname" value="demos.applets.GearsApplet">
32    <param name="subapplet.displayname" value="JOGL Gears Applet">
33    <param name="noddraw.check" value="true">
34    <param name="progressbar" value="true">
35    <param name="jnlpNumExtensions" value="1">
36    <param name="jnlpExtension1"
37           value="../jogl-all-awt.jnlp">
38    <param name="java_arguments" value="-Dsun.java2d.noddraw=true">
39 </applet>
40
41 </P>
42 <P>
43
44 The applet above is instantiated with the following code:
45
46 <pre>
47 &lt;applet code="org.jdesktop.applet.util.JNLPAppletLauncher"
48       width=600
49       height=400
50       archive="http://jogamp.org/deployment/jogamp-current/jar/applet-launcher.jar,
51                http://jogamp.org/deployment/jogamp-current/jar/gluegen-rt.jar,
52                http://jogamp.org/deployment/jogamp-current/jar/jogl.all.jar,
53                http://jogamp.org/deployment/jogamp-current/jogl-demos/jar/jogl-demos.jar"&gt;
54    &lt;param name="codebase_lookup" value="false"&gt;
55    &lt;param name="subapplet.classname" value="demos.applets.GearsApplet"&gt;
56    &lt;param name="subapplet.displayname" value="JOGL Gears Applet"&gt;
57    &lt;param name="noddraw.check" value="true"&gt;
58    &lt;param name="progressbar" value="true"&gt;
59    &lt;param name="jnlpNumExtensions" value="1"&gt;
60    &lt;param name="jnlpExtension1"
61           value="http://jogamp.org/deployment/jogamp-current/jogl-all-awt.jnlp"&gt;
62    &lt;param name="java_arguments" value="-Dsun.java2d.noddraw=true"&gt;
63 &lt;/applet&gt;
64 </pre>
65
66 </P>
67 <P>
68
69 Note that the jogl-demos.jar, which contains the GearsApplet class,
70 <B>does not need to be signed</B>! JogAmp Community signs
71 applet-launcher.jar, jogl.jar and gluegen-rt.jar, which contain the
72 JNLPAppletLauncher and JOGL's supporting classes; this is the only
73 Java code which needs to be signed in order to deploy applets using
74 JOGL and is the only certificate the end user must accept.
75
76 </P>
77 <P>
78
79 The <a href="http://jogamp.org/applet-launcher/www/">JNLPAppletLauncher
80 home page</a> contains more information about what files must be
81 placed on the web server in order to enable the deployment of applets
82 using JOGL and other extensions.
83
84 </P>
85
86 </body>
87 </html>
http://JogAmp.org git info: FAQ, tutorial and man pages.