summaryrefslogtreecommitdiffstats
path: root/src/demos/es1/angeles/Main.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/es1/angeles/Main.java')
-rwxr-xr-xsrc/demos/es1/angeles/Main.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/demos/es1/angeles/Main.java b/src/demos/es1/angeles/Main.java
index e4fbbf6..aab344e 100755
--- a/src/demos/es1/angeles/Main.java
+++ b/src/demos/es1/angeles/Main.java
@@ -10,6 +10,7 @@ public class Main implements MouseListener {
public GLWindow window = null;
public void mouseClicked(MouseEvent e) {
+ //System.out.println(e);
switch(e.getClickCount()) {
case 1:
if(null!=window) {
@@ -54,7 +55,7 @@ public class Main implements MouseListener {
caps.setGreenBits(6);
caps.setBlueBits(5);
caps.setDepthBits(16);
- GLWindow window = GLWindow.create(nWindow, caps);
+ window = GLWindow.create(nWindow, caps);
window.addMouseListener(this);