From a393e45613d87101dbb13763df263c2f9291d2d0 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 26 Jun 2012 10:44:08 +0200 Subject: Implement Bug #598 - JOGL ALL JAR File Change incl. it's Native Jar URL Derivation - Depends on GlueGen commit 9a71703904ebfec343fb2c7266343d37a2e4c3db JAR file name changes: ALL JARs: - jogl.all.jar -> jogl-all.jar - jogl.all-noawt.jar -> jogl-all-noawt.jar - jogl.all-mobile.jar -> jogl-all-mobile.jar - jogl.all-android.jar -> jogl-all-android.jar - jogl.all-android.apk -> jogl-all-android.apk Atomic JARs: - nativewindow.core.jar -> nativewindow-core.jar - nativewindow.awt.jar -> nativewindow-awt.jar - nativewindow.os.x11.jar -> nativewindow-os-x11.jar - nativewindow.os.win.jar -> nativewindow-os-win.jar - nativewindow.os.macosx.jar -> nativewindow-os-osx.jar - jogl.core.jar -> jogl-core.jar - jogl.sdk.jar -> jogl-sdk.jar - jogl.glmobile.jar -> jogl-glmobile.jar - jogl.glmobile.dbg.jar -> jogl-glmobile-dbg.jar - jogl.util.jar -> jogl-util.jar - jogl.glutess.jar -> jogl-glutess.jar - jogl.glumipmap.jar -> jogl-glumipmap.jar - jogl.util.fixedfuncemu.jar -> jogl-util-fixedfuncemu.jar - jogl.awt.jar -> jogl-awt.jar - jogl.swt.jar -> jogl-swt.jar - jogl.util.awt.jar -> jogl-util-awt.jar - jogl.os.x11.jar -> jogl-os-x11.jar - jogl.os.win.jar -> jogl-os-win.jar - jogl.os.osx.jar -> jogl-os-osx.jar - jogl.os.android.jar -> jogl-os-android.jar - jogl.gldesktop.jar -> jogl-gldesktop.jar - jogl.gldesktop.dbg.jar -> jogl-gldesktop-dbg.jar - jogl.glugldesktop.jar -> jogl-glu-gldesktop.jar - jogl.util.gldesktop.jar -> jogl-util-gldesktop.jar - jogl.omx.jar -> jogl-omx.jar - jogl.cg.jar -> jogl-cg.jar - newt.core.jar -> newt-core.jar - newt.ogl.jar -> newt-ogl.jar - newt.awt.jar -> newt-awt.jar - newt.event.jar -> newt-event.jar - newt.driver.x11.jar -> newt-driver-x11.jar - newt.driver.win.jar -> newt-driver-win.jar - newt.driver.macosx.jar -> newt-driver-osx.jar - newt.driver.android.jar -> newt-driver-android.jar - newt.driver.kd.jar -> newt-driver-kd.jar - newt.driver.intelgdl.jar -> newt-driver-intelgdl.jar - newt.driver.broadcomegl.jar -> newt-driver-broadcomegl.jar Test JARs: - jogl.test.jar -> jogl-test.jar - jogl.test-android.jar -> jogl-test-android.jar - jogl.test-android.apk -> jogl-test-android.apk --- jnlp-files/jogl-applet-runner-newt-gears-normal.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'jnlp-files/jogl-applet-runner-newt-gears-normal.html') diff --git a/jnlp-files/jogl-applet-runner-newt-gears-normal.html b/jnlp-files/jogl-applet-runner-newt-gears-normal.html index c8d654dbc..a6dd16a0c 100644 --- a/jnlp-files/jogl-applet-runner-newt-gears-normal.html +++ b/jnlp-files/jogl-applet-runner-newt-gears-normal.html @@ -35,8 +35,8 @@ JOGL NEWT JNLP Applet Runner Special Keys:
+ jar/jogl-all.jar, + jar/jogl-test.jar"> @@ -58,8 +58,8 @@ JOGL NEWT JNLP Applet Runner Special Keys:
pluginspage="http://java.sun.com/javase/downloads/ea.jsp" archive="jar/applet-launcher.jar, jar/gluegen-rt.jar, - jar/jogl.all.jar, - jar/jogl.test.jar" + jar/jogl-all.jar, + jar/jogl-test.jar" codebase_lookup" value="false" subapplet.classname="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run" subapplet.displayname="JOGL GearsES2 Applet" @@ -91,8 +91,8 @@ The applet above is instantiated with the following code: <param name="code" value="org.jdesktop.applet.util.JNLPAppletLauncher"> <param name="archive" value="jar/applet-launcher.jar, jar/gluegen-rt.jar, - jar/jogl.all.jar, - jar/jogl.test.jar"> + jar/jogl-all.jar, + jar/jogl-test.jar"> <param name="codebase_lookup" value="false"> <param name="subapplet.classname" value="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run"> <param name="subapplet.displayname" value="JOGL GearsES2 Applet"> @@ -114,8 +114,8 @@ The applet above is instantiated with the following code: pluginspage="http://java.sun.com/javase/downloads/ea.jsp" archive="jar/applet-launcher.jar, jar/gluegen-rt.jar, - jar/jogl.all.jar, - jar/jogl.test.jar" + jar/jogl-all.jar, + jar/jogl-test.jar" codebase_lookup" value="false" subapplet.classname="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run" subapplet.displayname="JOGL GearsES2 Applet" @@ -154,7 +154,7 @@ Where the referenced JNLP file jogl-applet-runner-newt.jnlp looks as fo <resources> <j2se href="http://java.sun.com/products/autodl/j2se" version="1.4+"/> <property name="sun.java2d.noddraw" value="true"/> - <jar href="jar/jogl.test.jar" main="true"/> + <jar href="jar/jogl-test.jar" main="true"/> <extension name="jogl-all-awt" href="http://jogamp.org/deployment/jogamp-current/jogl-all-awt.jnlp" /> </resources> @@ -170,7 +170,7 @@ Where the referenced JNLP file jogl-applet-runner-newt.jnlp looks as fo

-Note that the jogl.test.jar, which contains the test applet class, +Note that the jogl-test.jar, which contains the test applet 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 -- cgit v1.2.3 From d8b3e369cf5365d09853db20b817cda7553b9a48 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 31 Dec 2013 08:40:48 +0100 Subject: Bug 935: NEWT: Expose Pointer Icons Feature in JOGLNewtAppletBase Tests --- ...nner-newt-ElektronenMultiplizierer-napplet.html | 3 + ...pplet-runner-newt-ElektronenMultiplizierer.html | 3 + ...let-runner-newt-GraphUISceneDemo01-napplet.html | 3 + ...jogl-applet-runner-newt-GraphUISceneDemo01.html | 3 + .../jogl-applet-runner-newt-MovieCube-napplet.html | 3 + jnlp-files/jogl-applet-runner-newt-MovieCube.html | 3 + .../jogl-applet-runner-newt-gears-gl3-napplet.html | 3 + ...plet-runner-newt-gears-normal-launcheronly.html | 3 + ...gl-applet-runner-newt-gears-normal-napplet.html | 3 + ...l-applet-runner-newt-gears-normal-napplet2.html | 3 + .../jogl-applet-runner-newt-gears-normal.html | 3 + ...l-applet-runner-newt-gears-special-napplet.html | 3 + .../jogl-applet-runner-newt-gears-special.html | 3 + .../jogamp/newt/awt/applet/JOGLNewtAppletBase.java | 85 +++++++++++++++++----- 14 files changed, 105 insertions(+), 19 deletions(-) (limited to 'jnlp-files/jogl-applet-runner-newt-gears-normal.html') diff --git a/jnlp-files/jogl-applet-runner-newt-ElektronenMultiplizierer-napplet.html b/jnlp-files/jogl-applet-runner-newt-ElektronenMultiplizierer-napplet.html index 19a3b2965..a989f7f09 100644 --- a/jnlp-files/jogl-applet-runner-newt-ElektronenMultiplizierer-napplet.html +++ b/jnlp-files/jogl-applet-runner-newt-ElektronenMultiplizierer-napplet.html @@ -58,6 +58,9 @@ JOGL NEWT JNLP Applet Runner Special Keys:

  • f - toggle fullscreen
  • r - in/out browser window
  • a - on/off always-on-top
  • +
  • c - change mouse pointer
  • +
  • i - invisible mouse pointer
  • +
  • w - warp mouse pointer to center
  • diff --git a/jnlp-files/jogl-applet-runner-newt-ElektronenMultiplizierer.html b/jnlp-files/jogl-applet-runner-newt-ElektronenMultiplizierer.html index 71c9baff8..83131585a 100644 --- a/jnlp-files/jogl-applet-runner-newt-ElektronenMultiplizierer.html +++ b/jnlp-files/jogl-applet-runner-newt-ElektronenMultiplizierer.html @@ -75,6 +75,9 @@ JOGL NEWT JNLP Applet Runner Special Keys:
  • f - toggle fullscreen
  • r - in/out browser window
  • a - on/off always-on-top
  • +
  • c - change mouse pointer
  • +
  • i - invisible mouse pointer
  • +
  • w - warp mouse pointer to center
  • diff --git a/jnlp-files/jogl-applet-runner-newt-GraphUISceneDemo01-napplet.html b/jnlp-files/jogl-applet-runner-newt-GraphUISceneDemo01-napplet.html index 8f9783f03..a22d8f26c 100644 --- a/jnlp-files/jogl-applet-runner-newt-GraphUISceneDemo01-napplet.html +++ b/jnlp-files/jogl-applet-runner-newt-GraphUISceneDemo01-napplet.html @@ -60,6 +60,9 @@ JOGL NEWT JNLP Applet Runner Special Keys:
  • f - toggle fullscreen
  • r - in/out browser window
  • a - on/off always-on-top
  • +
  • c - change mouse pointer
  • +
  • i - invisible mouse pointer
  • +
  • w - warp mouse pointer to center
  • diff --git a/jnlp-files/jogl-applet-runner-newt-GraphUISceneDemo01.html b/jnlp-files/jogl-applet-runner-newt-GraphUISceneDemo01.html index 429e80311..0f050a98d 100644 --- a/jnlp-files/jogl-applet-runner-newt-GraphUISceneDemo01.html +++ b/jnlp-files/jogl-applet-runner-newt-GraphUISceneDemo01.html @@ -78,6 +78,9 @@ JOGL NEWT JNLP Applet Runner Special Keys:
  • f - toggle fullscreen
  • r - in/out browser window
  • a - on/off always-on-top
  • +
  • c - change mouse pointer
  • +
  • i - invisible mouse pointer
  • +
  • w - warp mouse pointer to center
  • diff --git a/jnlp-files/jogl-applet-runner-newt-MovieCube-napplet.html b/jnlp-files/jogl-applet-runner-newt-MovieCube-napplet.html index 5dc77f024..242efa6fd 100644 --- a/jnlp-files/jogl-applet-runner-newt-MovieCube-napplet.html +++ b/jnlp-files/jogl-applet-runner-newt-MovieCube-napplet.html @@ -72,6 +72,9 @@ JOGL NEWT JNLP Applet Runner Special Keys:
  • f - toggle fullscreen
  • r - in/out browser window
  • a - on/off always-on-top
  • +
  • c - change mouse pointer
  • +
  • i - invisible mouse pointer
  • +
  • w - warp mouse pointer to center
  • diff --git a/jnlp-files/jogl-applet-runner-newt-MovieCube.html b/jnlp-files/jogl-applet-runner-newt-MovieCube.html index a154eb825..bb61fc143 100644 --- a/jnlp-files/jogl-applet-runner-newt-MovieCube.html +++ b/jnlp-files/jogl-applet-runner-newt-MovieCube.html @@ -89,6 +89,9 @@ JOGL NEWT JNLP Applet Runner Special Keys:
  • f - toggle fullscreen
  • r - in/out browser window
  • a - on/off always-on-top
  • +
  • c - change mouse pointer
  • +
  • i - invisible mouse pointer
  • +
  • w - warp mouse pointer to center
  • diff --git a/jnlp-files/jogl-applet-runner-newt-gears-gl3-napplet.html b/jnlp-files/jogl-applet-runner-newt-gears-gl3-napplet.html index cb2375e4c..9dd3806f1 100644 --- a/jnlp-files/jogl-applet-runner-newt-gears-gl3-napplet.html +++ b/jnlp-files/jogl-applet-runner-newt-gears-gl3-napplet.html @@ -12,6 +12,9 @@ JOGL NEWT Applet Runner Special Keys:
  • f - toggle fullscreen
  • r - in/out browser window
  • a - on/off always-on-top
  • +
  • c - change mouse pointer
  • +
  • i - invisible mouse pointer
  • +
  • w - warp mouse pointer to center
  • diff --git a/jnlp-files/jogl-applet-runner-newt-gears-normal-launcheronly.html b/jnlp-files/jogl-applet-runner-newt-gears-normal-launcheronly.html index a9e42d342..328228146 100644 --- a/jnlp-files/jogl-applet-runner-newt-gears-normal-launcheronly.html +++ b/jnlp-files/jogl-applet-runner-newt-gears-normal-launcheronly.html @@ -12,6 +12,9 @@ JOGL NEWT JNLP Applet Runner Special Keys:
  • f - toggle fullscreen
  • r - in/out browser window
  • a - on/off always-on-top
  • +
  • c - change mouse pointer
  • +
  • i - invisible mouse pointer
  • +
  • w - warp mouse pointer to center
  • diff --git a/jnlp-files/jogl-applet-runner-newt-gears-normal-napplet.html b/jnlp-files/jogl-applet-runner-newt-gears-normal-napplet.html index 9b448394d..e1e9593de 100644 --- a/jnlp-files/jogl-applet-runner-newt-gears-normal-napplet.html +++ b/jnlp-files/jogl-applet-runner-newt-gears-normal-napplet.html @@ -12,6 +12,9 @@ JOGL NEWT Applet Runner Special Keys:
  • f - toggle fullscreen
  • r - in/out browser window
  • a - on/off always-on-top
  • +
  • c - change mouse pointer
  • +
  • i - invisible mouse pointer
  • +
  • w - warp mouse pointer to center
  • diff --git a/jnlp-files/jogl-applet-runner-newt-gears-normal-napplet2.html b/jnlp-files/jogl-applet-runner-newt-gears-normal-napplet2.html index 8970aea53..09c5f4b47 100644 --- a/jnlp-files/jogl-applet-runner-newt-gears-normal-napplet2.html +++ b/jnlp-files/jogl-applet-runner-newt-gears-normal-napplet2.html @@ -12,6 +12,9 @@ JOGL NEWT Applet Runner Special Keys:
  • f - toggle fullscreen
  • r - in/out browser window
  • a - on/off always-on-top
  • +
  • c - change mouse pointer
  • +
  • i - invisible mouse pointer
  • +
  • w - warp mouse pointer to center
  • If Applet is out of browser window, it is closeable.

    diff --git a/jnlp-files/jogl-applet-runner-newt-gears-normal.html b/jnlp-files/jogl-applet-runner-newt-gears-normal.html index a6dd16a0c..310e659ba 100644 --- a/jnlp-files/jogl-applet-runner-newt-gears-normal.html +++ b/jnlp-files/jogl-applet-runner-newt-gears-normal.html @@ -26,6 +26,9 @@ JOGL NEWT JNLP Applet Runner Special Keys:
  • f - toggle fullscreen
  • r - in/out browser window
  • a - on/off always-on-top
  • +
  • c - change mouse pointer
  • +
  • i - invisible mouse pointer
  • +
  • w - warp mouse pointer to center
  • diff --git a/jnlp-files/jogl-applet-runner-newt-gears-special-napplet.html b/jnlp-files/jogl-applet-runner-newt-gears-special-napplet.html index 7df167844..bb27fde68 100644 --- a/jnlp-files/jogl-applet-runner-newt-gears-special-napplet.html +++ b/jnlp-files/jogl-applet-runner-newt-gears-special-napplet.html @@ -57,6 +57,9 @@ JOGL NEWT JNLP Applet Runner Special Keys:
  • f - toggle fullscreen
  • r - in/out browser window
  • a - on/off always-on-top
  • +
  • c - change mouse pointer
  • +
  • i - invisible mouse pointer
  • +
  • w - warp mouse pointer to center
  • Normal webpage text - Normal webpage text - Normal webpage text - Normal webpage text
    Normal webpage text - Normal webpage text - Normal webpage text - Normal webpage text
    diff --git a/jnlp-files/jogl-applet-runner-newt-gears-special.html b/jnlp-files/jogl-applet-runner-newt-gears-special.html index 0f5911414..01f37d6c7 100644 --- a/jnlp-files/jogl-applet-runner-newt-gears-special.html +++ b/jnlp-files/jogl-applet-runner-newt-gears-special.html @@ -75,6 +75,9 @@ JOGL NEWT JNLP Applet Runner Special Keys:
  • f - toggle fullscreen
  • r - in/out browser window
  • a - on/off always-on-top
  • +
  • c - change mouse pointer
  • +
  • i - invisible mouse pointer
  • +
  • w - warp mouse pointer to center
  • Normal webpage text - Normal webpage text - Normal webpage text - Normal webpage text
    Normal webpage text - Normal webpage text - Normal webpage text - Normal webpage text
    diff --git a/src/newt/classes/com/jogamp/newt/awt/applet/JOGLNewtAppletBase.java b/src/newt/classes/com/jogamp/newt/awt/applet/JOGLNewtAppletBase.java index e6571d21a..eac328cdd 100644 --- a/src/newt/classes/com/jogamp/newt/awt/applet/JOGLNewtAppletBase.java +++ b/src/newt/classes/com/jogamp/newt/awt/applet/JOGLNewtAppletBase.java @@ -42,7 +42,10 @@ import javax.media.opengl.GLPipelineFactory; import jogamp.newt.Debug; +import com.jogamp.common.util.IOUtil; +import com.jogamp.newt.Display; import com.jogamp.newt.Window; +import com.jogamp.newt.Display.PointerIcon; import com.jogamp.newt.event.KeyEvent; import com.jogamp.newt.event.KeyListener; import com.jogamp.newt.event.MouseListener; @@ -65,6 +68,7 @@ public class JOGLNewtAppletBase implements KeyListener, GLEventListener { boolean glClosable; boolean glDebug; boolean glTrace; + PointerIcon pointerIconTest = null; GLEventListener glEventListener = null; GLWindow glWindow = null; @@ -230,6 +234,15 @@ public class JOGLNewtAppletBase implements KeyListener, GLEventListener { if(isValid) { glWindow.setVisible(true); glWindow.sendWindowEvent(WindowEvent.EVENT_WINDOW_RESIZED); + if( null == pointerIconTest ) { + final IOUtil.ClassResources res = new IOUtil.ClassResources(glWindow.getClass(), new String[] { "newt/data/jogamp-32x32.png" } ); + final Display disp = glWindow.getScreen().getDisplay(); + try { + pointerIconTest = disp.createPointerIcon(res, 16, 0); + } catch (Exception e) { + e.printStackTrace(); + } + } glAnimator.start(); awtParent = glWindow.getParent(); glWindow.addWindowListener(reparentHomeListener); @@ -302,28 +315,62 @@ public class JOGLNewtAppletBase implements KeyListener, GLEventListener { return; } if(e.getKeyChar()=='d') { - glWindow.setUndecorated(!glWindow.isUndecorated()); + new Thread() { + public void run() { + glWindow.setUndecorated(!glWindow.isUndecorated()); + } }.start(); } if(e.getKeyChar()=='f') { - glWindow.setFullscreen(!glWindow.isFullscreen()); + new Thread() { + public void run() { + glWindow.setFullscreen(!glWindow.isFullscreen()); + } }.start(); } else if(e.getKeyChar()=='a') { - glWindow.setAlwaysOnTop(!glWindow.isAlwaysOnTop()); + new Thread() { + public void run() { + glWindow.setAlwaysOnTop(!glWindow.isAlwaysOnTop()); + } }.start(); } else if(e.getKeyChar()=='r' && null!=awtParent) { - if(null == glWindow.getParent()) { - glWindow.reparentWindow(awtParent, -1, -1, 0 /* hints */); - } else { - final InsetsImmutable insets = glWindow.getInsets(); - final int x, y; - if ( 0 >= insets.getTopHeight() ) { - // fail safe .. - x = 32; - y = 32; - } else { - x = insets.getLeftWidth(); - y = insets.getTopHeight(); - } - glWindow.reparentWindow(null, x, y, 0 /* hints */); - glWindow.setDefaultCloseOperation( glClosable ? WindowClosingMode.DISPOSE_ON_CLOSE : WindowClosingMode.DO_NOTHING_ON_CLOSE ); - } + new Thread() { + public void run() { + if(null == glWindow.getParent()) { + glWindow.reparentWindow(awtParent, -1, -1, 0 /* hints */); + } else { + final InsetsImmutable insets = glWindow.getInsets(); + final int x, y; + if ( 0 >= insets.getTopHeight() ) { + // fail safe .. + x = 32; + y = 32; + } else { + x = insets.getLeftWidth(); + y = insets.getTopHeight(); + } + glWindow.reparentWindow(null, x, y, 0 /* hints */); + glWindow.setDefaultCloseOperation( glClosable ? WindowClosingMode.DISPOSE_ON_CLOSE : WindowClosingMode.DO_NOTHING_ON_CLOSE ); + } + } }.start(); + } else if(e.getKeyChar()=='c') { + new Thread() { + public void run() { + System.err.println("[set pointer-icon pre]"); + final PointerIcon currentPI = glWindow.getPointerIcon(); + glWindow.setPointerIcon( currentPI == pointerIconTest ? null : pointerIconTest); + System.err.println("[set pointer-icon post] "+currentPI+" -> "+glWindow.getPointerIcon()); + } }.start(); + } else if(e.getKeyChar()=='i') { + new Thread() { + public void run() { + System.err.println("[set mouse visible pre]: "+glWindow.isPointerVisible()); + glWindow.setPointerVisible(!glWindow.isPointerVisible()); + System.err.println("[set mouse visible post]: "+glWindow.isPointerVisible()); + } }.start(); + } else if(e.getKeyChar()=='w') { + new Thread() { + public void run() { + System.err.println("[set mouse pos pre]"); + glWindow.warpPointer(glWindow.getWidth()/2, glWindow.getHeight()/2); + System.err.println("[set mouse pos post]"); + } }.start(); } } -- cgit v1.2.3 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 +++---- ...pplet-runner-newt-ElektronenMultiplizierer.html | 26 +--- .../jogl-applet-runner-newt-GraphTextDemo01.html | 26 +--- ...jogl-applet-runner-newt-GraphUISceneDemo01.html | 26 +--- jnlp-files/jogl-applet-runner-newt-MovieCube.html | 26 +--- ...plet-runner-newt-gears-normal-launcheronly.html | 146 --------------------- ...gl-applet-runner-newt-gears-normal-napplet.html | 23 +++- .../jogl-applet-runner-newt-gears-normal.html | 112 +++++----------- .../jogl-applet-runner-newt-gears-special.html | 26 +--- jnlp-files/jogl-applet-runner-newt.jnlp | 1 - jnlp-files/jogl-applet-version-lancheronly.html | 56 -------- jnlp-files/jogl-applet-version.html | 26 +--- jnlp-files/jogl-applet-version.jnlp | 1 - jnlp-files/jogl-application-version.jnlp | 1 - jnlp-files/jogl-javaws-version.jnlp | 1 - jnlp-files/jogl-test-applets.html | 28 ++-- make/build-test.xml | 1 + make/joglversion | 1 + make/joglversion-all | 1 + make/joglversion-test | 4 +- 20 files changed, 112 insertions(+), 466 deletions(-) delete mode 100644 jnlp-files/jogl-applet-runner-newt-gears-normal-launcheronly.html delete mode 100644 jnlp-files/jogl-applet-version-lancheronly.html (limited to 'jnlp-files/jogl-applet-runner-newt-gears-normal.html') 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

    diff --git a/jnlp-files/jogl-applet-runner-newt-ElektronenMultiplizierer.html b/jnlp-files/jogl-applet-runner-newt-ElektronenMultiplizierer.html index 83131585a..8768dd452 100644 --- a/jnlp-files/jogl-applet-runner-newt-ElektronenMultiplizierer.html +++ b/jnlp-files/jogl-applet-runner-newt-ElektronenMultiplizierer.html @@ -12,19 +12,10 @@ Demoscene Passivist's Elektronen-Multiplizierer

    - - + - - - - - - - - @@ -32,22 +23,13 @@ Demoscene Passivist's Elektronen-Multiplizierer - - - + - - - - - - - - @@ -35,22 +26,13 @@ JOGL Graph Text Demo 01 - - - + - - - - - - - - @@ -34,22 +25,13 @@ JOGL Graph UI-Scene Demo 01 - - - + - - - - - - - - @@ -33,23 +24,14 @@ JogAmp's MovieCube - GLMediaPlayer Demo 01 - - - -JOGL NEWT JNLP Applet Runner - GearsES2 - normal - launcheronly - - - -

    -JOGL NEWT JNLP Applet Runner Special Keys:
    -

      -
    • d - toggle decoration
    • -
    • f - toggle fullscreen
    • -
    • r - in/out browser window
    • -
    • a - on/off always-on-top
    • -
    • c - change mouse pointer
    • -
    • i - invisible mouse pointer
    • -
    • w - warp mouse pointer to center
    • -
    -

    - -

    - - - - - - - - - - - - - - - - - - - Sorry, no Java support detected. - - - - -

    - -

    - -The applet above is instantiated with the following code: - -

    -<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    -      width="200" height="200">
    -   <param name="code" value="org.jdesktop.applet.util.JNLPAppletLauncher">
    -   <param name="archive" value="jar/applet-launcher.jar,
    -                                jar/gluegen-rt.jar,
    -                                jar/jogl-all.jar,
    -                                jar/jogl-test.jar">
    -   <param name="codebase_lookup" value="false">
    -   <param name="subapplet.classname" value="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run">
    -   <param name="subapplet.displayname" value="JOGL GearsES2 Applet">
    -   <param name="noddraw.check" value="true">
    -   <param name="progressbar" value="true">
    -   <param name="jnlpNumExtensions" value="1">
    -   <param name="jnlpExtension1" value="jogl-all-awt.jnlp">
    -   <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">
    -   <comment>
    -     <embed code="org.jdesktop.applet.util.JNLPAppletLauncher"
    -          width="200" height="200"
    -          type="application/x-java-applet;version=1.6"
    -          pluginspage="http://java.sun.com/javase/downloads/ea.jsp"
    -          archive="jar/applet-launcher.jar,
    -                   jar/gluegen-rt.jar,
    -                   jar/jogl-all.jar,
    -                   jar/jogl-test.jar"
    -          codebase_lookup" value="false"
    -          subapplet.classname="com.jogamp.newt.awt.applet.JOGLNewtApplet1Run"
    -          subapplet.displayname="JOGL GearsES2 Applet"
    -          noddraw.check="true"
    -          progressbar="true"
    -          jnlpNumExtensions="1"
    -          jnlpExtension1="jogl-all-awt.jnlp"
    -          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">
    -        <noembed>Sorry, no Java support detected.</noembed>
    -     </embed>
    -   </comment>
    -</object>
    -
    -
    - -

    -

    - -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/jogl-applet-runner-newt-gears-normal-napplet.html b/jnlp-files/jogl-applet-runner-newt-gears-normal-napplet.html index e1e9593de..113f49c6a 100644 --- a/jnlp-files/jogl-applet-runner-newt-gears-normal-napplet.html +++ b/jnlp-files/jogl-applet-runner-newt-gears-normal-napplet.html @@ -5,6 +5,10 @@ +

    +Applet launching using NApplet. +

    +

    JOGL NEWT Applet Runner Special Keys: