summaryrefslogtreecommitdiffstats
path: root/src/demos/jrefract/JRefract.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/jrefract/JRefract.java')
-rwxr-xr-xsrc/demos/jrefract/JRefract.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/jrefract/JRefract.java b/src/demos/jrefract/JRefract.java
index 60361e0..01fe9f7 100755
--- a/src/demos/jrefract/JRefract.java
+++ b/src/demos/jrefract/JRefract.java
@@ -120,7 +120,7 @@ public class JRefract {
final GLJPanel canvas =
(which == GEARS) ?
new JGears() :
- GLDrawableFactory.getFactory().createGLJPanel(caps);
+ new GLJPanel(caps);
final DemoListener demoListener = new DemoListener() {
public void shutdownDemo() {
removeJPanel(canvas);