summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2009-01-05 21:47:52 +0000
committerKenneth Russel <[email protected]>2009-01-05 21:47:52 +0000
commitc5cb640a428bf9b6d398616dc542ea529a2036d2 (patch)
tree549c6d969658e84ad743fadcd063fb2895fa2c4a /src
parentd6fdefbf969d93144e86e0a5c60420c26306e7dc (diff)
Changed Angeles to quit when clickCount is greater than 1.
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@314 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
Diffstat (limited to 'src')
-rwxr-xr-xsrc/demos/es1/angeles/Main.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/demos/es1/angeles/Main.java b/src/demos/es1/angeles/Main.java
index 255dc4e..5833c7c 100755
--- a/src/demos/es1/angeles/Main.java
+++ b/src/demos/es1/angeles/Main.java
@@ -10,7 +10,9 @@ public class Main implements MouseListener {
public GLWindow window = null;
public void mouseClicked(MouseEvent e) {
- quit=true;
+ if (e.getClickCount() > 1) {
+ quit=true;
+ }
}
public void mouseEntered(MouseEvent e) {
}