diff options
-rwxr-xr-x | src/junit/com/jogamp/test/junit/newt/TestParenting01NEWT.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/junit/com/jogamp/test/junit/newt/TestParenting01NEWT.java b/src/junit/com/jogamp/test/junit/newt/TestParenting01NEWT.java index 3d88668ee..128c4358d 100755 --- a/src/junit/com/jogamp/test/junit/newt/TestParenting01NEWT.java +++ b/src/junit/com/jogamp/test/junit/newt/TestParenting01NEWT.java @@ -136,7 +136,7 @@ public class TestParenting01NEWT { Assert.assertNotNull(window1); window1.setTitle("testWindowParenting01NewtOnNewtParentChildDraw - PARENT"); window1.setPosition(x,y); - // window1.addKeyListener(new TraceKeyAdapter(new KeyAction(eventFifo))); + window1.addKeyListener(new TraceKeyAdapter(new KeyAction(eventFifo))); GLWindow glWindow1 = GLWindow.create(window1); Assert.assertNotNull(glWindow1); @@ -144,8 +144,8 @@ public class TestParenting01NEWT { Assert.assertNotNull(window2); window2.setTitle("testWindowParenting01NewtOnNewtParentChildDraw - CHILD"); System.out.println("Window1: "+window1); - // Assert.assertTrue(width==window1.getWidth()); - // Assert.assertTrue(height==window1.getHeight()); + Assert.assertTrue(width==window1.getWidth()); + Assert.assertTrue(height==window1.getHeight()); window2.setPosition(window1.getWidth()/2, window1.getHeight()/2); window2.addKeyListener(new TraceKeyAdapter(new KeyAction(eventFifo))); // window2.addMouseListener(new TraceMouseAdapter()); |