Passed
com.jogamp.opengl.test.junit.newt.parenting.TestParentingFocusTraversal01AWT.testWindowParentingAWTFocusTraversal01Onscreen
Standard Error
Thread-1 - SingletonInstanceServerSocket: localhost/127.0.0.1:59999 - started SLOCK 1340736423901 +++ localhost/127.0.0.1:59999 - Locked ++++ UITestCase.setUp: com.jogamp.opengl.test.junit.newt.parenting.TestParentingFocusTraversal01AWT - testWindowParentingAWTFocusTraversal01Onscreen FTKL.fwd-keys: ctrl pressed TAB FTKL.fwd-keys: pressed TAB FTKL.bwd-keys: shift ctrl pressed TAB FTKL.bwd-keys: pressed BACK_SPACE FTKL.bwd-keys: shift pressed TAB FOCUS NEWT GAINED [fc 1]: GLWindow1, WindowEvent[EVENT_WINDOW_GAINED_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.macosx.MacWindow, when:1340736425689 d 0ms]] Thread[main-AWTAnimator-1,5,main] GearsES2.init ... Chosen GLCapabilities: GLCaps[on-scr, rgba 0x8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/0/0, dbl, mono , hw, GLProfile[GL2/GL2.hw]] INIT GL IS: jogamp.opengl.gl4.GL4bcImpl GL_VENDOR: NVIDIA Corporation GL_RENDERER: NVIDIA GeForce 320M OpenGL Engine GL_VERSION: 2.1 NVIDIA-7.18.18 FOCUS NEWT LOST [fc -1]: GLWindow1, WindowEvent[EVENT_WINDOW_LOST_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.macosx.MacWindow, when:1340736425712 d 0ms]] gear1 created: com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2@1ed5459 gear2 created: com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2@3cb075 gear3 created: com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2@6504bc Thread[main-AWTAnimator-1,5,main] GearsES2.init FIN ******** clearAWTFocus.0 FOCUS AWT GAINED PERM [fc 1]: WEST, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=null,cause=ACTIVATION] on java.awt.Button[button0,0,22,62x278,label=WEST] FOCUS AWT LOST TEMP [fc -1]: WEST, java.awt.FocusEvent[FOCUS_LOST,temporary,opposite=null,cause=ACTIVATION] on java.awt.Button[button0,0,22,62x278,label=WEST] ******** clearAWTFocus.X toFront: robot pos: java.awt.Point[x=150,y=172] centerMouse: robot pos: java.awt.Point[x=31,y=183], onTitleBarIfWindow: true FOCUS AWT GAINED PERM [fc 1]: WEST, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=java.awt.Frame[frame0,0,22,300x300,layout=java.awt.BorderLayout,title=AWT Parent Frame,resizable,normal],cause=NATIVE_SYSTEM] on java.awt.Button[button0,0,22,62x278,label=WEST] requestFocus: click, d: 501 ms FOCUS AWT LOST PERM [fc -1]: WEST, java.awt.FocusEvent[FOCUS_LOST,permanent,opposite=com.jogamp.newt.awt.NewtCanvasAWT[canvas0,62,22,178x278],cause=TRAVERSAL_FORWARD] on java.awt.Button[button0,0,22,62x278,label=WEST] FOCUS NEWT GAINED [fc 1]: GLWindow1, WindowEvent[EVENT_WINDOW_GAINED_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.macosx.MacWindow, when:1340736426924 d 0ms]] FOCUS NEWT LOST [fc -1]: GLWindow1, WindowEvent[EVENT_WINDOW_LOST_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.macosx.MacWindow, when:1340736427223 d 0ms]] FOCUS AWT GAINED PERM [fc 1]: EAST, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=com.jogamp.newt.awt.NewtCanvasAWT[canvas0,62,22,178x278],cause=TRAVERSAL_FORWARD] on java.awt.Button[button1,240,22,60x278,label=EAST] FOCUS AWT LOST PERM [fc -1]: EAST, java.awt.FocusEvent[FOCUS_LOST,permanent,opposite=com.jogamp.newt.awt.NewtCanvasAWT[canvas0,62,22,178x278],cause=TRAVERSAL_BACKWARD] on java.awt.Button[button1,240,22,60x278,label=EAST] FOCUS NEWT GAINED [fc 1]: GLWindow1, WindowEvent[EVENT_WINDOW_GAINED_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.macosx.MacWindow, when:1340736427520 d 0ms]] FOCUS NEWT LOST [fc -1]: GLWindow1, WindowEvent[EVENT_WINDOW_LOST_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.macosx.MacWindow, when:1340736427831 d 0ms]] FOCUS AWT GAINED PERM [fc 1]: WEST, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=com.jogamp.newt.awt.NewtCanvasAWT[canvas0,62,22,178x278],cause=TRAVERSAL_BACKWARD] on java.awt.Button[button0,0,22,62x278,label=WEST] FOCUS NEWT GAINED [fc 1]: GLWindow1, WindowEvent[EVENT_WINDOW_GAINED_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.macosx.MacWindow, when:1340736428126 d 0ms]] FOCUS AWT LOST PERM [fc -1]: WEST, java.awt.FocusEvent[FOCUS_LOST,permanent,opposite=com.jogamp.newt.awt.NewtCanvasAWT[canvas0,62,22,178x278],cause=UNKNOWN] on java.awt.Button[button0,0,22,62x278,label=WEST] FOCUS NEWT LOST [fc -1]: GLWindow1, WindowEvent[EVENT_WINDOW_LOST_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.macosx.MacWindow, when:1340736428430 d 0ms]] FOCUS AWT GAINED PERM [fc 1]: WEST, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=com.jogamp.newt.awt.NewtCanvasAWT[canvas0,62,22,178x278],cause=UNKNOWN] on java.awt.Button[button0,0,22,62x278,label=WEST] FOCUS AWT LOST PERM [fc -1]: WEST, java.awt.FocusEvent[FOCUS_LOST,permanent,opposite=com.jogamp.newt.awt.NewtCanvasAWT[canvas0,62,22,178x278],cause=UNKNOWN] on java.awt.Button[button0,0,22,62x278,label=WEST] FOCUS NEWT GAINED [fc 1]: GLWindow1, WindowEvent[EVENT_WINDOW_GAINED_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.macosx.MacWindow, when:1340736428733 d 1ms]] Thread[main-Display-MacOSX_nil-1-EDT-1,5,main] GearsES2.dispose ... Thread[main-Display-MacOSX_nil-1-EDT-1,5,main] GearsES2.dispose FIN ++++ UITestCase.tearDown: com.jogamp.opengl.test.junit.newt.parenting.TestParentingFocusTraversal01AWT - testWindowParentingAWTFocusTraversal01Onscreen ++++ UITestCase.setUp: com.jogamp.opengl.test.junit.newt.parenting.TestParentingFocusTraversal01AWT - testWindowParentingAWTFocusTraversal02Offscreen FTKL.fwd-keys: ctrl pressed TAB FTKL.fwd-keys: pressed TAB FTKL.bwd-keys: shift ctrl pressed TAB FTKL.bwd-keys: pressed BACK_SPACE FTKL.bwd-keys: shift pressed TAB FOCUS NEWT GAINED [fc 1]: GLWindow1, WindowEvent[EVENT_WINDOW_GAINED_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.macosx.MacWindow, when:1340736429043 d 0ms]] Thread[main-AWTAnimator-2,5,main] GearsES2.init ... Chosen GLCapabilities: GLCaps[offscr, rgba 0x8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms: 24/0/0, dbl, mono , hw, GLProfile[GL2/GL2.hw], pbuffer [r2t 0, r2tr 0, float 0]] INIT GL IS: jogamp.opengl.gl4.GL4bcImpl GL_VENDOR: NVIDIA Corporation GL_RENDERER: NVIDIA GeForce 320M OpenGL Engine GL_VERSION: 2.1 NVIDIA-7.18.18 ******** clearAWTFocus.0 FOCUS NEWT LOST [fc -1]: GLWindow1, WindowEvent[EVENT_WINDOW_LOST_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.macosx.MacWindow, when:1340736429171 d 0ms]] gear1 created: com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2@754fc FOCUS AWT GAINED PERM [fc 1]: WEST, java.awt.FocusEvent[FOCUS_GAINED,permanent,opposite=null,cause=ACTIVATION] on java.awt.Button[button2,0,22,62x278,label=WEST] gear2 created: com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2@15c998a FOCUS AWT LOST TEMP [fc -1]: WEST, java.awt.FocusEvent[FOCUS_LOST,temporary,opposite=null,cause=ACTIVATION] on java.awt.Button[button2,0,22,62x278,label=WEST] gear3 created: com.jogamp.opengl.test.junit.jogl.demos.es2.GearsObjectES2@1bb9696 Thread[main-AWTAnimator-2,5,main] GearsES2.init FIN ******** clearAWTFocus.X toFront: robot pos: java.awt.Point[x=150,y=172] Thread[main-Display-MacOSX_nil-2-EDT-1,5,main] GearsES2.dispose ... Thread[main-Display-MacOSX_nil-2-EDT-1,5,main] GearsES2.dispose FIN FOCUS NEWT GAINED [fc 1]: GLWindow1, WindowEvent[EVENT_WINDOW_GAINED_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.macosx.MacWindow, when:1340736429449 d 0ms]] Exception in thread "main-AWTAnimator-2" javax.media.opengl.GLException: drawable has invalid handle: MacOSXPbufferCGLDrawable[Realized false, Factory jogamp.opengl.macosx.cgl.awt.MacOSXAWTCGLDrawableFactory@238016, handle 0x0, Window jogamp.newt.driver.macosx.MacWindow[Config MacOSXCGLGraphicsConfiguration[DefaultGraphicsScreen[MacOSXGraphicsDevice[type MacOSX, connection decon, unitID 0, handle 0x0], idx 0], chosen GLCaps[offscr, rgba 0x8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/0/0, dbl, mono , hw, GLProfile[GL2/GL2.hw], pbuffer [r2t 0, r2tr 0, float 0]], requested GLCaps[on-scr, rgba 0x8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/0/0, dbl, mono , hw, GLProfile[GL2/GL2.hw]]] , NEWT-Screen[MacOSX_nil-20, idx 0, refCount 1, 1920x1200, DefaultGraphicsScreen[MacOSXGraphicsDevice[type MacOSX, connection decon, unitID 0, handle 0x0], idx 0], NEWT-Display[MacOSX_nil-2, refCount 1, hasEDT true, edtRunning true, MacOSXGraphicsDevice[type MacOSX, connection decon, unitID 0, handle 0x0]]] , ParentWindow JAWT-Window[windowHandle 0x1999e0, surfaceHandle 0x0, bounds [ 62 / 22 178 x 278 ], insets [ l 0, r 0 - t 0, b 0 - 0x0], shallUseOffscreenLayer true, isOffscreenLayerSurface true, pos 62/22, size 178x278, visible true, lockedExt false, config AWTGraphicsConfiguration[AWTGraphicsScreen[AWTGraphicsDevice[type AWT, connection \Display0, unitID 0, awtDevice CGraphicsDevice[screen=0], handle 0x0], idx 0], chosen GLCaps[offscr, rgba 0x8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/0/0, dbl, mono , hw, GLProfile[GL2/GL2.hw], pixmap], requested GLCaps[on-scr, rgba 0x8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/0/0, dbl, mono , hw, GLProfile[GL2/GL2.hw]], apple.awt.CGraphicsConfig@7eb366[dev=CGraphicsDevice[screen=0],pixfmt=0], encapsulated MacOSXCGLGraphicsConfiguration[DefaultGraphicsScreen[MacOSXGraphicsDevice[type MacOSX, connection decon, unitID 0, handle 0x0], idx 0], chosen GLCaps[offscr, rgba 0x8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/0/0, dbl, mono , hw, GLProfile[GL2/GL2.hw], pixmap], requested GLCaps[on-scr, rgba 0x8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/0/0, dbl, mono , hw, GLProfile[GL2/GL2.hw]]]], awtComponent com.jogamp.newt.awt.NewtCanvasAWT[canvas1,62,22,178x278], surfaceLock <187b287, 1d9e2c7>[count 0, qsz 0, owner <NULL>]] , ParentWindowHandle 0x1999e0 (true) , WindowHandle 0x1a2880 , SurfaceHandle 0x1188060 (lockedExt window false, surface false) , Pos 0/0 (auto false), size 178x278 , Visible true, focus true , Undecorated false (true) , AlwaysOnTop false, Fullscreen false , WrappedWindow null , ChildWindows 0, SurfaceUpdatedListeners num 0 [], WindowListeners num 3 [com.jogamp.newt.opengl.GLWindow$1@1b7ae22, GLWindow1[focusCount 1], com.jogamp.newt.awt.NewtCanvasAWT$2@951a0, ], MouseListeners num 0 [], KeyListeners num 3 [GLWindow1[pressed false, typed 0], com.jogamp.opengl.test.junit.newt.parenting.NewtAWTReparentingKeyAdapter@1ce1bea, com.jogamp.opengl.test.junit.newt.parenting.TestParentingFocusTraversal01AWT$1@8acfc3, ], surfaceLock <14e0e90, 19e11a1>[count 1, qsz 0, owner <main-AWTAnimator-2>], windowLock <979f67, 62610b>[count 1, qsz 0, owner <main-AWTAnimator-2>]]] at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:400) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:415) at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:364) at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:559) at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:74) at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:142) at com.jogamp.opengl.util.Animator$MainLoop.run(Animator.java:176) at java.lang.Thread.run(Thread.java:680) FOCUS NEWT LOST [fc -1]: GLWindow1, WindowEvent[EVENT_WINDOW_LOST_FOCUS, NEWTEvent[sys:false, source:jogamp.newt.driver.macosx.MacWindow, when:1340736429480 d 0ms]] ++++ UITestCase.tearDown: com.jogamp.opengl.test.junit.newt.parenting.TestParentingFocusTraversal01AWT - testWindowParentingAWTFocusTraversal02Offscreen SLOCK 1340736429674 --- localhost/127.0.0.1:59999 - Unlock ok