logo       

Re: Plea for assistance...: msg#00245

java.sun.kvm

Subject: Re: Plea for assistance...

Adrian Hill wrote:
<snip>

I'm quite suprised that the J2ME framework is not set up so that a keypress
will only execute until all preceding keypresses have been handled. Surely
that would be the right way to do things?

nope

Back to the problem now... To avoid this multiple keypress unpleasantness, I
have tried to add methods like...

if (!keyHasBeenPressed) {
keyHasBeenPressed = true;
executeMyStuffNow();
}

... but sometimes it will not even get as far as the executeMyStuffNow()
call (although it does have time to set keyHasBeenPressed to true) and the
impatient user is left on the same screen as before.

Please could someone set me straight on this issue?

Thanks in advance, best regards,

Could you explain a bit what you're trying to do? If you're processing
key events I'll assume you have a Canvas that wants to do something in
response to a key press. Just elaborate what it is you're trying to do
and we can tell you how to do it.

Regards,

- Mark

===========================================================================
To unsubscribe, send email to listserv@xxxxxxxxxxxx and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@xxxxxxxxxxxx and include in the body of the message "help".



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise