diff options
Diffstat (limited to 'src/gleem')
-rw-r--r-- | src/gleem/TestExaminerViewer.java | 5 | ||||
-rw-r--r-- | src/gleem/TestHandleBox.java | 5 | ||||
-rw-r--r-- | src/gleem/TestMultiWin.java | 4 | ||||
-rw-r--r-- | src/gleem/TestTranslate1.java | 4 | ||||
-rw-r--r-- | src/gleem/TestTranslate2.java | 4 |
5 files changed, 5 insertions, 17 deletions
diff --git a/src/gleem/TestExaminerViewer.java b/src/gleem/TestExaminerViewer.java index e7d0838..712feec 100644 --- a/src/gleem/TestExaminerViewer.java +++ b/src/gleem/TestExaminerViewer.java @@ -59,10 +59,6 @@ import javax.media.opengl.glu.GLU; /** Tests the Examiner Viewer. */ public class TestExaminerViewer { - static { - GLProfile.initSingleton(); - } - private static final int X_SIZE = 400; private static final int Y_SIZE = 400; @@ -154,6 +150,7 @@ public class TestExaminerViewer { } public static void main(String[] args) { + GLProfile.initSingleton(true); Frame frame = new Frame("ExaminerViewer Test"); frame.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { diff --git a/src/gleem/TestHandleBox.java b/src/gleem/TestHandleBox.java index 76583f3..6e27441 100644 --- a/src/gleem/TestHandleBox.java +++ b/src/gleem/TestHandleBox.java @@ -58,10 +58,6 @@ import javax.media.opengl.glu.GLU; /** Tests the HandleBox Manip. */ public class TestHandleBox { - static { - GLProfile.initSingleton(); - } - private static final int X_SIZE = 400; private static final int Y_SIZE = 400; @@ -142,6 +138,7 @@ public class TestHandleBox { } public static void main(String[] args) { + GLProfile.initSingleton(true); Frame frame = new Frame("HandleBox Test"); frame.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { diff --git a/src/gleem/TestMultiWin.java b/src/gleem/TestMultiWin.java index 0c81b71..521f7db 100644 --- a/src/gleem/TestMultiWin.java +++ b/src/gleem/TestMultiWin.java @@ -60,9 +60,6 @@ import javax.media.opengl.glu.GLU; /** Tests viewing manipulators in multiple winodws. */ public class TestMultiWin { - static { - GLProfile.initSingleton(); - } private static final int X_SIZE = 400; private static final int Y_SIZE = 400; @@ -170,6 +167,7 @@ public class TestMultiWin { } public static void main(String[] args) { + GLProfile.initSingleton(true); // Instantiate HandleBoxManip manip = new HandleBoxManip(); manip.setTranslation(new Vec3f(0, 0, -10)); diff --git a/src/gleem/TestTranslate1.java b/src/gleem/TestTranslate1.java index b61747c..4945305 100644 --- a/src/gleem/TestTranslate1.java +++ b/src/gleem/TestTranslate1.java @@ -59,9 +59,6 @@ import javax.media.opengl.glu.GLU; /** Tests the Translate1 Manip. */ public class TestTranslate1 { - static { - GLProfile.initSingleton(); - } private static final int X_SIZE = 400; private static final int Y_SIZE = 400; @@ -143,6 +140,7 @@ public class TestTranslate1 { } public static void main(String[] args) { + GLProfile.initSingleton(true); Frame frame = new Frame("Translate1 Test"); frame.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { diff --git a/src/gleem/TestTranslate2.java b/src/gleem/TestTranslate2.java index 2795817..5ec40a3 100644 --- a/src/gleem/TestTranslate2.java +++ b/src/gleem/TestTranslate2.java @@ -59,9 +59,6 @@ import javax.media.opengl.glu.GLU; /** Tests the Translate2 Manip. */ public class TestTranslate2 { - static { - GLProfile.initSingleton(); - } private static final int X_SIZE = 400; private static final int Y_SIZE = 400; @@ -143,6 +140,7 @@ public class TestTranslate2 { } public static void main(String[] args) { + GLProfile.initSingleton(true); Frame frame = new Frame("Translate2 Test"); frame.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { |