summaryrefslogtreecommitdiffstats
path: root/src/gleem
diff options
context:
space:
mode:
Diffstat (limited to 'src/gleem')
-rw-r--r--src/gleem/TestExaminerViewer.java3
-rw-r--r--src/gleem/TestHandleBox.java3
-rw-r--r--src/gleem/TestMultiWin.java3
-rw-r--r--src/gleem/TestTranslate1.java3
-rw-r--r--src/gleem/TestTranslate2.java3
5 files changed, 5 insertions, 10 deletions
diff --git a/src/gleem/TestExaminerViewer.java b/src/gleem/TestExaminerViewer.java
index 7e52992..d7e4734 100644
--- a/src/gleem/TestExaminerViewer.java
+++ b/src/gleem/TestExaminerViewer.java
@@ -143,8 +143,7 @@ public class TestExaminerViewer {
}
});
frame.setLayout(new BorderLayout());
- GLCanvas canvas =
- GLDrawableFactory.getFactory().createGLCanvas(new GLCapabilities());
+ GLCanvas canvas = new GLCanvas();
canvas.setSize(400, 400);
canvas.addGLEventListener(new Listener());
frame.add(canvas, BorderLayout.CENTER);
diff --git a/src/gleem/TestHandleBox.java b/src/gleem/TestHandleBox.java
index e06d004..8df7fd6 100644
--- a/src/gleem/TestHandleBox.java
+++ b/src/gleem/TestHandleBox.java
@@ -133,8 +133,7 @@ public class TestHandleBox {
}
});
frame.setLayout(new BorderLayout());
- GLCanvas canvas =
- GLDrawableFactory.getFactory().createGLCanvas(new GLCapabilities());
+ GLCanvas canvas = new GLCanvas();
canvas.setSize(400, 400);
canvas.addGLEventListener(new Listener());
frame.add(canvas, BorderLayout.CENTER);
diff --git a/src/gleem/TestMultiWin.java b/src/gleem/TestMultiWin.java
index 1a1fcf1..7d73583 100644
--- a/src/gleem/TestMultiWin.java
+++ b/src/gleem/TestMultiWin.java
@@ -142,8 +142,7 @@ public class TestMultiWin {
}
});
frame.setLayout(new BorderLayout());
- GLCanvas canvas =
- GLDrawableFactory.getFactory().createGLCanvas(new GLCapabilities());
+ GLCanvas canvas = new GLCanvas();
canvas.setSize(400, 400);
canvas.addGLEventListener(new Listener());
frame.add(canvas, BorderLayout.CENTER);
diff --git a/src/gleem/TestTranslate1.java b/src/gleem/TestTranslate1.java
index b9eb81a..93a97d0 100644
--- a/src/gleem/TestTranslate1.java
+++ b/src/gleem/TestTranslate1.java
@@ -134,8 +134,7 @@ public class TestTranslate1 {
}
});
frame.setLayout(new BorderLayout());
- GLCanvas canvas =
- GLDrawableFactory.getFactory().createGLCanvas(new GLCapabilities());
+ GLCanvas canvas = new GLCanvas();
canvas.setSize(400, 400);
canvas.addGLEventListener(new Listener());
frame.add(canvas, BorderLayout.CENTER);
diff --git a/src/gleem/TestTranslate2.java b/src/gleem/TestTranslate2.java
index 96f5684..e507b07 100644
--- a/src/gleem/TestTranslate2.java
+++ b/src/gleem/TestTranslate2.java
@@ -134,8 +134,7 @@ public class TestTranslate2 {
}
});
frame.setLayout(new BorderLayout());
- GLCanvas canvas =
- GLDrawableFactory.getFactory().createGLCanvas(new GLCapabilities());
+ GLCanvas canvas = new GLCanvas();
canvas.setSize(400, 400);
canvas.addGLEventListener(new Listener());
frame.add(canvas, BorderLayout.CENTER);