diff options
author | Sven Gothel <[email protected]> | 2013-02-16 20:09:35 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-02-16 20:09:35 +0100 |
commit | 87b5d10bc6d9025de410bcd23b8d33ccdb13901d (patch) | |
tree | 2d85e19820bb63db31416239283f0f93ee0994c3 /src/test | |
parent | 1cee0f1ac437de952c5cc15d5a23c8c5ddfdda8a (diff) |
Uni Tests AddRemove: Remove dead code ..
Diffstat (limited to 'src/test')
2 files changed, 0 insertions, 40 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestAddRemove01GLCanvasSwingAWT.java b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestAddRemove01GLCanvasSwingAWT.java index 61652371b..a14364e05 100644 --- a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestAddRemove01GLCanvasSwingAWT.java +++ b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestAddRemove01GLCanvasSwingAWT.java @@ -78,26 +78,6 @@ public class TestAddRemove01GLCanvasSwingAWT extends UITestCase { public static void releaseClass() { } - protected JPanel createParkingSlot(final JFrame[] top, final int width, final int height) - throws InterruptedException, InvocationTargetException - { - final JPanel[] jPanel = new JPanel[] { null }; - SwingUtilities.invokeAndWait(new Runnable() { - public void run() { - jPanel[0] = new JPanel(); - jPanel[0].setLayout(new BorderLayout()); - - final JFrame jFrame1 = new JFrame("Parking Slot"); - // jFrame1.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); - jFrame1.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE); // equivalent to Frame, use windowClosing event! - jFrame1.getContentPane().add(jPanel[0]); - jFrame1.setSize(width, height); - - top[0] = jFrame1; - } } ); - return jPanel[0]; - } - protected JPanel create(final JFrame[] top, final int width, final int height, final int num) throws InterruptedException, InvocationTargetException { diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestAddRemove02GLWindowNewtCanvasAWT.java b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestAddRemove02GLWindowNewtCanvasAWT.java index b4272a9c0..d67662116 100644 --- a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestAddRemove02GLWindowNewtCanvasAWT.java +++ b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestAddRemove02GLWindowNewtCanvasAWT.java @@ -80,26 +80,6 @@ public class TestAddRemove02GLWindowNewtCanvasAWT extends UITestCase { public static void releaseClass() { } - protected JPanel createParkingSlot(final JFrame[] top, final int width, final int height) - throws InterruptedException, InvocationTargetException - { - final JPanel[] jPanel = new JPanel[] { null }; - SwingUtilities.invokeAndWait(new Runnable() { - public void run() { - jPanel[0] = new JPanel(); - jPanel[0].setLayout(new BorderLayout()); - - final JFrame jFrame1 = new JFrame("Parking Slot"); - // jFrame1.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); - jFrame1.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE); // equivalent to Frame, use windowClosing event! - jFrame1.getContentPane().add(jPanel[0]); - jFrame1.setSize(width, height); - - top[0] = jFrame1; - } } ); - return jPanel[0]; - } - protected JPanel create(final JFrame[] top, final int width, final int height, final int num) throws InterruptedException, InvocationTargetException { |