From e57fc1738c4d2a099b6d573ca7b52d095ecce468 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 29 Oct 2011 15:13:42 +0200 Subject: Test: More 'layouting' in NewtCanvasAWT test case --- .../opengl/test/junit/newt/parenting/TestParenting03AWT.java | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/test') 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"); -- cgit v1.2.3