diff options
Diffstat (limited to 'src/jbullet')
-rw-r--r-- | src/jbullet/src/javabullet/demos/opengl/DemoApplication.java | 1 | ||||
-rw-r--r-- | src/jbullet/src/javabullet/demos/opengl/JOGL.java | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/jbullet/src/javabullet/demos/opengl/DemoApplication.java b/src/jbullet/src/javabullet/demos/opengl/DemoApplication.java index ec58929..4b7352c 100644 --- a/src/jbullet/src/javabullet/demos/opengl/DemoApplication.java +++ b/src/jbullet/src/javabullet/demos/opengl/DemoApplication.java @@ -49,6 +49,7 @@ import javax.media.opengl.glu.*; import java.nio.*; import com.jogamp.newt.*; +import com.jogamp.newt.event.*; /** * diff --git a/src/jbullet/src/javabullet/demos/opengl/JOGL.java b/src/jbullet/src/javabullet/demos/opengl/JOGL.java index aeececb..cd98906 100644 --- a/src/jbullet/src/javabullet/demos/opengl/JOGL.java +++ b/src/jbullet/src/javabullet/demos/opengl/JOGL.java @@ -24,6 +24,7 @@ package javabullet.demos.opengl; import com.jogamp.newt.*; +import com.jogamp.newt.event.*; import javax.media.nativewindow.*; import javax.media.opengl.*; import javax.media.opengl.glu.*; @@ -114,7 +115,6 @@ public class JOGL implements WindowListener, MouseListener { // Shut things down cooperatively window.destroy(); - window.getFactory().shutdown(); System.out.print(title); System.out.println(" shut down cleanly."); } catch (Throwable t) { |