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 --- .../jogl-applet-runner-newt-gears-normal-napplet2.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'jnlp-files/jogl-applet-runner-newt-gears-normal-napplet2.html') 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 ba2f69ef4..63df4ed60 100644 --- a/jnlp-files/jogl-applet-runner-newt-gears-normal-napplet2.html +++ b/jnlp-files/jogl-applet-runner-newt-gears-normal-napplet2.html @@ -21,8 +21,8 @@ If Applet is out of browser window, it is closeable. width="200" height="200"> + jar/jogl-all.jar, + jar/jogl-test.jar"> @@ -36,8 +36,8 @@ If Applet is out of browser window, it is closeable. 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" + 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" @@ -61,8 +61,8 @@ The applet above is instantiated with the following code: 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"> + 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"> @@ -76,8 +76,8 @@ The applet above is instantiated with the following code: 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" + 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" @@ -95,7 +95,7 @@ The applet above is instantiated with the following code:

-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 jogl.jar and gluegen-rt.jar, which contain JOGL's supporting classes; this is the only -- cgit v1.2.3 From 4b7833fab73166338a3a2f27920a7b28a3e5e30f Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 21 Jun 2013 10:14:15 +0200 Subject: Fix applet html pages (title) --- jnlp-files/jogl-applet-runner-newt-gears-gl3-napplet.html | 2 +- jnlp-files/jogl-applet-runner-newt-gears-normal-napplet.html | 2 +- jnlp-files/jogl-applet-runner-newt-gears-normal-napplet2.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'jnlp-files/jogl-applet-runner-newt-gears-normal-napplet2.html') 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 13d891943..cb2375e4c 100644 --- a/jnlp-files/jogl-applet-runner-newt-gears-gl3-napplet.html +++ b/jnlp-files/jogl-applet-runner-newt-gears-gl3-napplet.html @@ -1,7 +1,7 @@ -JOGL NEWT Applet Runner - GearsES2 - GL3 Core - Normal Applet +JOGL NEWT Applet Runner - GearsES2 - GL3 Core - (NApplet) 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 37473befe..9b448394d 100644 --- a/jnlp-files/jogl-applet-runner-newt-gears-normal-napplet.html +++ b/jnlp-files/jogl-applet-runner-newt-gears-normal-napplet.html @@ -1,7 +1,7 @@ -JOGL NEWT Applet Runner - GearsES2 - normal - Normal Applet +JOGL NEWT Applet Runner - GearsES2 - normal - (NApplet) 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 63df4ed60..8970aea53 100644 --- a/jnlp-files/jogl-applet-runner-newt-gears-normal-napplet2.html +++ b/jnlp-files/jogl-applet-runner-newt-gears-normal-napplet2.html @@ -1,7 +1,7 @@ -JOGL NEWT Applet Runner - GearsES2 - normal - Normal Applet - Closeable +JOGL NEWT Applet Runner - GearsES2 - normal - (NApplet) - Closeable -- 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-napplet2.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 3691ff45fe3dcb334d363a45a91ec0eb1cd6f2b4 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 22 Jan 2014 13:00:04 +0100 Subject: JNLP/Applets: Remove 'sun.java2d.noddraw' - We don't test with these flags either .. --- jnlp-files/jogl-applet-bug818_gljpanel01.html | 4 +--- .../jogl-applet-runner-newt-ElektronenMultiplizierer-napplet.html | 2 -- jnlp-files/jogl-applet-runner-newt-GraphTextDemo01-napplet.html | 2 -- jnlp-files/jogl-applet-runner-newt-GraphTextDemo01b-napplet.html | 2 -- .../jogl-applet-runner-newt-GraphUISceneDemo01-napplet.html | 2 -- jnlp-files/jogl-applet-runner-newt-MovieCube-napplet.html | 2 -- jnlp-files/jogl-applet-runner-newt-gears-gl3-napplet.html | 4 ---- jnlp-files/jogl-applet-runner-newt-gears-normal-napplet.html | 4 ---- jnlp-files/jogl-applet-runner-newt-gears-normal-napplet2.html | 4 ---- jnlp-files/jogl-applet-runner-newt-gears-special-napplet.html | 2 -- jnlp-files/jogl-applet-version-napplet.html | 8 ++------ 11 files changed, 3 insertions(+), 33 deletions(-) (limited to 'jnlp-files/jogl-applet-runner-newt-gears-normal-napplet2.html') diff --git a/jnlp-files/jogl-applet-bug818_gljpanel01.html b/jnlp-files/jogl-applet-bug818_gljpanel01.html index 84e612db1..4bb09d007 100644 --- a/jnlp-files/jogl-applet-bug818_gljpanel01.html +++ b/jnlp-files/jogl-applet-bug818_gljpanel01.html @@ -16,15 +16,13 @@ Bug818 OSX GLJPanel NV GT330 Crash - + jar/jogl-test.jar"> Sorry, no Java support detected. diff --git a/jnlp-files/jogl-applet-runner-newt-ElektronenMultiplizierer-napplet.html b/jnlp-files/jogl-applet-runner-newt-ElektronenMultiplizierer-napplet.html index a989f7f09..54ea05f68 100644 --- a/jnlp-files/jogl-applet-runner-newt-ElektronenMultiplizierer-napplet.html +++ b/jnlp-files/jogl-applet-runner-newt-ElektronenMultiplizierer-napplet.html @@ -16,7 +16,6 @@ Demoscene Passivist's Elektronen-Multiplizierer - @@ -31,7 +30,6 @@ Demoscene Passivist's Elektronen-Multiplizierer jar/jogl-all.jar, jar/jogl-test.jar" codebase_lookup" value="false" - java_arguments="-Dsun.java2d.noddraw=true" gl_event_listener_class="com.jogamp.opengl.test.junit.jogl.demos.es2.ElektronenMultiplizierer" gl_profile="GL2ES2" gl_swap_interval="1" diff --git a/jnlp-files/jogl-applet-runner-newt-GraphTextDemo01-napplet.html b/jnlp-files/jogl-applet-runner-newt-GraphTextDemo01-napplet.html index 9648b57da..28fed6673 100644 --- a/jnlp-files/jogl-applet-runner-newt-GraphTextDemo01-napplet.html +++ b/jnlp-files/jogl-applet-runner-newt-GraphTextDemo01-napplet.html @@ -16,7 +16,6 @@ JOGL Graph Text Demo 01 - @@ -33,7 +32,6 @@ JOGL Graph Text Demo 01 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.graph.demos.GPUTextGLListener0A" gl_profile="GL2ES2" gl_swap_interval="1" diff --git a/jnlp-files/jogl-applet-runner-newt-GraphTextDemo01b-napplet.html b/jnlp-files/jogl-applet-runner-newt-GraphTextDemo01b-napplet.html index c4c949487..cf0723ea3 100644 --- a/jnlp-files/jogl-applet-runner-newt-GraphTextDemo01b-napplet.html +++ b/jnlp-files/jogl-applet-runner-newt-GraphTextDemo01b-napplet.html @@ -17,7 +17,6 @@ JOGL Graph Text Demo 01b (w/ atomic/jogl-fonts-p0.jar in path) jar/jogl-all.jar, jar/atomic/jogl-fonts-p0.jar, jar/jogl-test.jar"> - @@ -35,7 +34,6 @@ JOGL Graph Text Demo 01b (w/ atomic/jogl-fonts-p0.jar in path) jar/jogl-all.jar, jar/atomic/jogl-fonts-p0.jar, jar/jogl-test.jar" - java_arguments="-Dsun.java2d.noddraw=true" gl_event_listener_class="com.jogamp.opengl.test.junit.graph.demos.GPUTextGLListener0A" gl_profile="GL2ES2" gl_swap_interval="1" diff --git a/jnlp-files/jogl-applet-runner-newt-GraphUISceneDemo01-napplet.html b/jnlp-files/jogl-applet-runner-newt-GraphUISceneDemo01-napplet.html index a22d8f26c..66f02da6b 100644 --- a/jnlp-files/jogl-applet-runner-newt-GraphUISceneDemo01-napplet.html +++ b/jnlp-files/jogl-applet-runner-newt-GraphUISceneDemo01-napplet.html @@ -16,7 +16,6 @@ JOGL Graph UI-Scene Demo 01 - @@ -32,7 +31,6 @@ JOGL Graph UI-Scene Demo 01 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.graph.demos.GPUUISceneGLListener0A" gl_profile="GL2ES2" gl_swap_interval="1" diff --git a/jnlp-files/jogl-applet-runner-newt-MovieCube-napplet.html b/jnlp-files/jogl-applet-runner-newt-MovieCube-napplet.html index 242efa6fd..3630a1529 100644 --- a/jnlp-files/jogl-applet-runner-newt-MovieCube-napplet.html +++ b/jnlp-files/jogl-applet-runner-newt-MovieCube-napplet.html @@ -17,7 +17,6 @@ JogAmp's MovieCube - GLMediaPlayer Demo 01 jar/joal.jar, jar/jogl-all.jar, jar/jogl-test.jar"> - @@ -33,7 +32,6 @@ JogAmp's MovieCube - GLMediaPlayer Demo 01 jar/jogl-all.jar, jar/jogl-test.jar" codebase_lookup" value="false" - java_arguments="-Dsun.java2d.noddraw=true" gl_event_listener_class="com.jogamp.opengl.test.junit.jogl.demos.es2.av.MovieCube" gl_profile="GL2ES2" gl_swap_interval="1" 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 9dd3806f1..91177ddd7 100644 --- a/jnlp-files/jogl-applet-runner-newt-gears-gl3-napplet.html +++ b/jnlp-files/jogl-applet-runner-newt-gears-gl3-napplet.html @@ -25,7 +25,6 @@ JOGL NEWT Applet Runner Special Keys:
    - @@ -39,7 +38,6 @@ JOGL NEWT Applet Runner Special Keys:
    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="GL3" gl_swap_interval="1" @@ -67,7 +65,6 @@ The applet above is instantiated with the following code: <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="GL3"> <param name="gl_swap_interval" value="1"> @@ -81,7 +78,6 @@ The applet above is instantiated with the following code: 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="GL3" gl_swap_interval="1" 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 113f49c6a..4613b5bfe 100644 --- a/jnlp-files/jogl-applet-runner-newt-gears-normal-napplet.html +++ b/jnlp-files/jogl-applet-runner-newt-gears-normal-napplet.html @@ -29,7 +29,6 @@ JOGL NEWT Applet Runner Special Keys:
    - @@ -43,7 +42,6 @@ JOGL NEWT Applet Runner Special Keys:
    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" @@ -67,7 +65,6 @@ The applet above is instantiated with the following code: <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"> @@ -81,7 +78,6 @@ The applet above is instantiated with the following code: 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" 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 09c5f4b47..c6126b5e9 100644 --- a/jnlp-files/jogl-applet-runner-newt-gears-normal-napplet2.html +++ b/jnlp-files/jogl-applet-runner-newt-gears-normal-napplet2.html @@ -26,7 +26,6 @@ If Applet is out of browser window, it is closeable. - @@ -41,7 +40,6 @@ If Applet is out of browser window, it is closeable. 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" @@ -66,7 +64,6 @@ The applet above is instantiated with the following code: <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"> @@ -81,7 +78,6 @@ The applet above is instantiated with the following code: 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" 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 bb27fde68..2e81f5218 100644 --- a/jnlp-files/jogl-applet-runner-newt-gears-special-napplet.html +++ b/jnlp-files/jogl-applet-runner-newt-gears-special-napplet.html @@ -13,7 +13,6 @@ JOGL NEWT JNLP Applet Runner Special Keys: - @@ -34,7 +33,6 @@ JOGL NEWT JNLP Applet Runner Special Keys: 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" diff --git a/jnlp-files/jogl-applet-version-napplet.html b/jnlp-files/jogl-applet-version-napplet.html index aeccb710a..6d65add90 100644 --- a/jnlp-files/jogl-applet-version-napplet.html +++ b/jnlp-files/jogl-applet-version-napplet.html @@ -17,15 +17,13 @@ and your platform. - + jar/jogl-all.jar"> Sorry, no Java support detected. @@ -42,15 +40,13 @@ The applet above is instantiated with the following code: <param name="code" value="jogamp.opengl.awt.VersionApplet"> <param name="archive" value="jar/gluegen-rt.jar, jar/jogl-all.jar"> - <param name="java_arguments" value="-Dsun.java2d.noddraw=true"> <comment> <embed code="jogamp.opengl.awt.VersionApplet" width="800" height="600" 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" - java_arguments="-Dsun.java2d.noddraw=true"> + jar/jogl-all.jar"> <noembed>Sorry, no Java support detected.</noembed> </embed> </comment> -- cgit v1.2.3 From 648d2438945f3d08854d8ac4e0322a7d44578f0d Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 22 Jan 2014 13:13:16 +0100 Subject: JOGL Test Applets: Refine html pages --- .../jogl-applet-runner-newt-gears-gl3-napplet.html | 39 ++++++++++++++-------- ...gl-applet-runner-newt-gears-normal-napplet.html | 14 ++++---- ...l-applet-runner-newt-gears-normal-napplet2.html | 35 ++++++++++++------- .../jogl-applet-runner-newt-gears-normal.html | 2 +- 4 files changed, 56 insertions(+), 34 deletions(-) (limited to 'jnlp-files/jogl-applet-runner-newt-gears-normal-napplet2.html') 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 91177ddd7..c0861ee76 100644 --- a/jnlp-files/jogl-applet-runner-newt-gears-gl3-napplet.html +++ b/jnlp-files/jogl-applet-runner-newt-gears-gl3-napplet.html @@ -5,7 +5,11 @@ -

    +

    +Applet launching using NApplet. +

    + +

    JOGL NEWT Applet Runner Special Keys:

    • d - toggle decoration
    • @@ -16,9 +20,9 @@ JOGL NEWT Applet Runner Special Keys:
    • i - invisible mouse pointer
    • w - warp mouse pointer to center
    -

    +

    -

    +

    @@ -48,13 +52,13 @@ JOGL NEWT Applet Runner Special Keys:
    -

    +

    -

    +

    Applet is using a GL3 core context, failure is expected if n/a on your platform! -

    +

    -

    +

    The applet above is instantiated with the following code: @@ -90,17 +94,24 @@ The applet above is instantiated with the following code: -

    -

    - -Note that the jogl-test.jar, which contains the test applet class, +

    +

    + +Note that the jogl-test.jar, which contains the GearsES2 class, does not need to be signed! JogAmp Community signs -jogl.jar and gluegen-rt.jar, which contain +jogl-all.jar and gluegen-rt.jar, which contain the 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. - -

    +
    +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 users implementing Applet class.
    +jogl-test.jar's manifest file uses Permissions: sandbox +to not raise privileges. +

    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 4613b5bfe..be3c95d43 100644 --- a/jnlp-files/jogl-applet-runner-newt-gears-normal-napplet.html +++ b/jnlp-files/jogl-applet-runner-newt-gears-normal-napplet.html @@ -9,7 +9,7 @@ Applet launching using NApplet.

    -

    +

    JOGL NEWT Applet Runner Special Keys:

    • d - toggle decoration
    • @@ -20,9 +20,9 @@ JOGL NEWT Applet Runner Special Keys:
    • i - invisible mouse pointer
    • w - warp mouse pointer to center
    -

    +

    -

    +

    @@ -52,9 +52,9 @@ JOGL NEWT Applet Runner Special Keys:
    -

    +

    -

    +

    The applet above is instantiated with the following code: @@ -90,7 +90,7 @@ The applet above is instantiated with the following code: -

    +

    Note that the jogl-test.jar, which contains the GearsES2 class, @@ -104,7 +104,7 @@ 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 GearsES2 class.
    +JOGL's supporting classes as well as jogl-test.jar, which contains the users implementing Applet class.
    jogl-test.jar's manifest file uses Permissions: sandbox to not raise privileges.

    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 c6126b5e9..919c29fd1 100644 --- a/jnlp-files/jogl-applet-runner-newt-gears-normal-napplet2.html +++ b/jnlp-files/jogl-applet-runner-newt-gears-normal-napplet2.html @@ -5,7 +5,11 @@ -

    +

    +Applet launching using NApplet. +

    + +

    JOGL NEWT Applet Runner Special Keys:

    • d - toggle decoration
    • @@ -17,9 +21,9 @@ JOGL NEWT Applet Runner Special Keys:
    • w - warp mouse pointer to center
    If Applet is out of browser window, it is closeable. -

    +

    -

    +

    @@ -51,9 +55,9 @@ If Applet is out of browser window, it is closeable. -

    +

    -

    +

    The applet above is instantiated with the following code: @@ -91,17 +95,24 @@ The applet above is instantiated with the following code: -

    -

    - -Note that the jogl-test.jar, which contains the test applet class, +

    +

    + +Note that the jogl-test.jar, which contains the GearsES2 class, does not need to be signed! JogAmp Community signs -jogl.jar and gluegen-rt.jar, which contain +jogl-all.jar and gluegen-rt.jar, which contain the 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. - -

    +
    +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 users implementing Applet class.
    +jogl-test.jar's manifest file uses Permissions: sandbox +to not raise privileges. +

    diff --git a/jnlp-files/jogl-applet-runner-newt-gears-normal.html b/jnlp-files/jogl-applet-runner-newt-gears-normal.html index 453f06971..f6efeb111 100644 --- a/jnlp-files/jogl-applet-runner-newt-gears-normal.html +++ b/jnlp-files/jogl-applet-runner-newt-gears-normal.html @@ -145,7 +145,7 @@ 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 GearsES2 class.
    +JOGL's supporting classes as well as jogl-test.jar, which contains the users implementing Applet class.
    jogl-test.jar's manifest file uses Permissions: sandbox to not raise privileges.

    -- cgit v1.2.3