[4971] in java-interest
code handling return key executes twice in handleEvent(Event e)
daemon@ATHENA.MIT.EDU (Paul.Bohnenkamp@corp.sun.com)
Wed Jan 24 21:09:02 1996
From: Paul.Bohnenkamp@corp.sun.com
Date: Wed, 24 Jan 1996 16:21:58 -0800
To: java-interest-digest@java.Eng.Sun.COM
When I hit return in my applet it executes the follwoing code twice. How do I make sure it only executes once.?
thx,
Paul
if(e.key == 10) {
System.out.println("return KEY pressed");
do_select();
return true;
}
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com