A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
graphlib_java.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add methods waitMousePress & Co.
[graphlib_java.git]
/
Test.java
diff --git
a/Test.java
b/Test.java
index
bcc7f92
..
65a891f
100644
(file)
--- a/
Test.java
+++ b/
Test.java
@@
-44,5
+44,11
@@
class Test{
}
}
w2.closeGraph();
+
+ while (w1.waitMousePress(5 * 1000))
+ System.out.println("[ " + w1.getMouseX() + " ; " + w1.getMouseY() +
+ " ] -- button " + w1.getMouseButton());
+
+ System.out.println("Done!");
}
}