JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.opengl.test.junit.jogl.awt.TestBug816GLCanvasFrameHoppingB849B889AWT Class Reference

Moving GLCanvas between 2 AWT JFrame. More...

Inheritance diagram for com.jogamp.opengl.test.junit.jogl.awt.TestBug816GLCanvasFrameHoppingB849B889AWT:
Collaboration diagram for com.jogamp.opengl.test.junit.jogl.awt.TestBug816GLCanvasFrameHoppingB849B889AWT:

Public Member Functions

void test01AllVisible () throws InterruptedException, InvocationTargetException
 
void test02VisibleWithCanvas () throws InterruptedException, InvocationTargetException
 
- Public Member Functions inherited from com.jogamp.opengl.test.junit.util.UITestCase
int getMaxTestNameLen ()
 
String getSnapshotFilename (final int sn, String postSNDetail, final GLCapabilitiesImmutable caps, final int width, final int height, final boolean sinkHasAlpha, String fileSuffix, final String destPath)
 
void snapshot (final int sn, final String postSNDetail, final GL gl, final GLReadBufferUtil readBufferUtil, final String fileSuffix, final String destPath)
 Takes a snapshot of the drawable's current front framebuffer. More...
 

Static Public Member Functions

static void main (final String args[])
 
- Static Public Member Functions inherited from com.jogamp.opengl.test.junit.util.UITestCase
static void setResetXRandRIfX11AfterClass ()
 
static int resetXRandRIfX11 ()
 Iterates through all outputs and sets the preferred mode and normal rotation using RandR 1.3. More...
 
static int processCommand (final String[] cmdline, final OutputStream outstream, final StringBuilder outstring, final String outPrefix)
 
static final void oneTimeSetUpUITest ()
 
static final void oneTimeTearDownUITest ()
 

Detailed Description

Moving GLCanvas between 2 AWT JFrame.

Validates bugs:

  • Bug 816: OSX CALayer Positioning Bug
  • Bug 729: OSX CALayer shall honor the Component's visibility state
  • Bug 849: AWT GLAutoDrawables (JAWTWindow) shall honor it's parent visibility state
  • Bug 878: JAWTWindow's HierarchyListener doesn't set component visible (again) on 'addNotify(..)' - GLCanvas in JtabbedPane disappear
  • Bug 889: GLCanvas disappear when moves between two JFrame

Definition at line 67 of file TestBug816GLCanvasFrameHoppingB849B889AWT.java.

Member Function Documentation

◆ main()

static void com.jogamp.opengl.test.junit.jogl.awt.TestBug816GLCanvasFrameHoppingB849B889AWT.main ( final String  args[])
static

Definition at line 251 of file TestBug816GLCanvasFrameHoppingB849B889AWT.java.

Here is the call graph for this function:

◆ test01AllVisible()

void com.jogamp.opengl.test.junit.jogl.awt.TestBug816GLCanvasFrameHoppingB849B889AWT.test01AllVisible ( ) throws InterruptedException, InvocationTargetException

◆ test02VisibleWithCanvas()

void com.jogamp.opengl.test.junit.jogl.awt.TestBug816GLCanvasFrameHoppingB849B889AWT.test02VisibleWithCanvas ( ) throws InterruptedException, InvocationTargetException

The documentation for this class was generated from the following file: