From 5e8361d84078568d54b9561315151e2c5e287147 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 22 Jan 2014 12:56:14 +0100 Subject: Adaption of Oracle's Deployment changes, i.e. >= 7u51 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.
Hence JogAmp Community signs jogl-all.jar and gluegen-rt.jar, which contain the JOGL's supporting classes as well as jogl-test.jar, which contains the applet class.
jogl-test.jar's manifest file uses Permissions: sandbox to not raise privileges. --- doc/deployment/JOGL-DEPLOYMENT.html | 46 +++++++++++++++---------------------- 1 file changed, 18 insertions(+), 28 deletions(-) (limited to 'doc') 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 native JAR files.

- Examples are available: - + AWT/JOGL NApplet Example:
                         <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>
                     
- +

+ NEWT/JOGL NApplet Examples: +

+

JNLP Files

-- cgit v1.2.3