summaryrefslogtreecommitdiffstats
path: root/src/demos/GLNewtRun.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-05-05 17:25:10 +0200
committerSven Gothel <[email protected]>2010-05-05 17:25:10 +0200
commitd855f8c8988aa2d26fb7f06361665b4a75211e83 (patch)
tree90b04a9e430c4115d41035c71cc13f665d16e236 /src/demos/GLNewtRun.java
parentec32272ad1d5ce2509f0907792a411446acca30d (diff)
Fix NewtFactory usage
Diffstat (limited to 'src/demos/GLNewtRun.java')
-rwxr-xr-xsrc/demos/GLNewtRun.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/GLNewtRun.java b/src/demos/GLNewtRun.java
index a1b22e3..c981012 100755
--- a/src/demos/GLNewtRun.java
+++ b/src/demos/GLNewtRun.java
@@ -219,7 +219,7 @@ public class GLNewtRun implements WindowListener, KeyListener, MouseListener {
parent.setPosition(x_p, y_p);
parent.setSize(width+width/10, height+height/10);
parent.setVisible(true);
- nWindow = NewtFactory.createWindow(parent.getWindowHandle(), nScreen, caps, undecorated);
+ nWindow = NewtFactory.createWindow(parent, nScreen, caps);
} else {
nWindow = NewtFactory.createWindow(nScreen, caps, undecorated);
}