diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/demos/applets/JOGLNewtApplet1Run.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/applets/JOGLNewtApplet1Run.java b/src/demos/applets/JOGLNewtApplet1Run.java index 6ea3251..8080fe4 100755 --- a/src/demos/applets/JOGLNewtApplet1Run.java +++ b/src/demos/applets/JOGLNewtApplet1Run.java @@ -59,7 +59,7 @@ public class JOGLNewtApplet1Run extends Applet { Window nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, new Object[] { container }, nScreen, caps, true /* undecorated */); // nWindow.setPosition(x, y); - // nWindow.setSize(width, height); + // nWindow.setSize(container.getWidth(), container.getHeight()); if(null!=nWindow) { base.init(nWindow); } |