diff options
author | Sven Gothel <[email protected]> | 2011-10-29 15:13:42 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-10-29 15:13:42 +0200 |
commit | e57fc1738c4d2a099b6d573ca7b52d095ecce468 (patch) | |
tree | 92d78da1d3f0f5e7b6f5f137548510cbdc78db27 | |
parent | 866cc2a35d922b0bcab8fd54c10ad6801d00080f (diff) |
Test: More 'layouting' in NewtCanvasAWT test case
-rw-r--r-- | src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParenting03AWT.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParenting03AWT.java b/src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParenting03AWT.java index 780b1690e..aded8f163 100644 --- a/src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParenting03AWT.java +++ b/src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParenting03AWT.java @@ -103,6 +103,10 @@ public class TestParenting03AWT extends UITestCase { final Container cont1 = new Container(); cont1.setLayout(new BorderLayout()); + cont1.add(new Label("iNORTH"), BorderLayout.NORTH); + cont1.add(new Label("iSOUTH"), BorderLayout.SOUTH); + cont1.add(new Label("iEAST"), BorderLayout.EAST); + cont1.add(new Label("iWEST"), BorderLayout.WEST); cont1.add(newtCanvasAWT1, BorderLayout.CENTER); System.err.println("******* Cont1 setVisible"); cont1.setVisible(true); @@ -110,6 +114,10 @@ public class TestParenting03AWT extends UITestCase { final Container cont2 = new Container(); cont2.setLayout(new BorderLayout()); if(use2nd) { + cont2.add(new Label("iNORTH"), BorderLayout.NORTH); + cont2.add(new Label("iSOUTH"), BorderLayout.SOUTH); + cont2.add(new Label("iEAST"), BorderLayout.EAST); + cont2.add(new Label("iWEST"), BorderLayout.WEST); cont2.add(newtCanvasAWT2, BorderLayout.CENTER); } System.err.println("******* Cont2 setVisible"); |