Skip to content
The Jenkins Controller is preparing for shutdown. No new builds can be started.
Unstable

Changes

Summary

  1. JOGL/NEWT: Introduce WindowClosingProtocol (solves Bug/Request 444) (details)
Commit 2cbab63bd6c230d31b8ae6f1d794ad49bf23bb53 by Sven Gothel
JOGL/NEWT: Introduce WindowClosingProtocol (solves Bug/Request 444)

Similar to JFrame's closing behavior,
the following components window closing follow the new WindowClosingProtocol:
   - GLCanvas
   - GLJPanel
   - NEWT Window, GLWindow
   - NEWT NewtCanvasAWT

The implementation obeys either
1) the user value set by this interface,
2) an underlying toolkit set user value (JFrame, ..)
3) or it's default, eg. {@link #DO_NOTHING_ON_CLOSE DO_NOTHING_ON_CLOSE} within an AWT environment.

If none of the above determines the operation,
this protocol default behavior {@link #DISPOSE_ON_CLOSE DISPOSE_ON_CLOSE} shall be used.
The file was addedsrc/nativewindow/classes/javax/media/nativewindow/awt/AWTWindowClosingProtocol.java (diff)
The file was addedsrc/test/com/jogamp/opengl/test/junit/newt/TestWindowClosingProtocol01AWT.java (diff)
The file was addedsrc/test/com/jogamp/newt/impl/WindowImplAccess.java (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/opengl/GLWindow.java (diff)
The file was modifiedsrc/jogl/classes/javax/media/opengl/awt/GLJPanel.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/util/AWTRobotUtil.java (diff)
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedsrc/nativewindow/classes/com/jogamp/nativewindow/impl/jawt/JAWTUtil.java (diff)
The file was addedsrc/nativewindow/classes/javax/media/nativewindow/WindowClosingProtocol.java (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/impl/WindowImpl.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/impl/awt/AWTUtil.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/newt/TestRemoteGLWindows01NEWT.java (diff)
The file was addedsrc/test/com/jogamp/opengl/test/junit/newt/TestWindowClosingProtocol02NEWT.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/newt/TestRemoteWindow01NEWT.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/newt/TestCloseNewtAWT.java (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/Window.java (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java (diff)
The file was addedsrc/test/com/jogamp/opengl/test/junit/newt/TestWindowClosingProtocol03NewtAWT.java (diff)
The file was modifiedmake/build-test.xml (diff)
The file was modifiedsrc/jogl/classes/javax/media/opengl/awt/GLCanvas.java (diff)
The file was addedsrc/nativewindow/classes/com/jogamp/nativewindow/impl/awt/AWTMisc.java (diff)