summaryrefslogtreecommitdiffstats
path: root/src/gleem/TestHandleBox.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/gleem/TestHandleBox.java')
-rw-r--r--src/gleem/TestHandleBox.java3
1 files changed, 1 insertions, 2 deletions
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);