summaryrefslogtreecommitdiffstats
path: root/src/demos/es1/cubefbo/Main.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/es1/cubefbo/Main.java')
-rwxr-xr-xsrc/demos/es1/cubefbo/Main.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/es1/cubefbo/Main.java b/src/demos/es1/cubefbo/Main.java
index 6a1281d..bef2761 100755
--- a/src/demos/es1/cubefbo/Main.java
+++ b/src/demos/es1/cubefbo/Main.java
@@ -3,6 +3,7 @@ package demos.es1.cubefbo;
import javax.media.opengl.*;
import javax.media.nativewindow.*;
import com.jogamp.newt.*;
+import com.jogamp.newt.event.*;
import com.jogamp.newt.opengl.*;
public class Main implements WindowListener, MouseListener {
@@ -87,7 +88,6 @@ public class Main implements WindowListener, MouseListener {
// Shut things down cooperatively
window.destroy();
- window.getFactory().shutdown();
System.out.println("cubefbo.Main shut down cleanly.");
} catch (GLException e) {
e.printStackTrace();