fix bug with multiple key events coming through

This commit is contained in:
benfry
2005-04-07 00:54:21 +00:00
parent 976ec7bac1
commit 9121904ff7
5 changed files with 45 additions and 10 deletions

View File

@@ -85,6 +85,7 @@ public class PGraphicsGL extends PGraphics3 {
//System.out.println("creating PGraphicsGL 5");
//System.out.println("adding canvas listeners");
canvas.addMouseListener(applet);
canvas.addMouseMotionListener(applet);
canvas.addKeyListener(applet);