|
Plea for assistance...: msg#00243java.sun.kvm
Could someone help me with a few specifics of the keyPressed method please? I am experiencing difficulties where a user will hit a key repeatedly and my MIDlet will start processing the second keyPress before it has finished processing the first one. This is creating havoc within my app. 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? 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, Adrian Adrian Hill Software Architect NRMi Phone: +44 (0)1482 441142 Web: http://www.nrmi.co.uk The information contained in this message is confidential and may be legally privileged. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, dissemination, or reproduction is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message. =========================================================================== 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> |
|---|---|---|
| Previous by Date: | Re: Why MIDP, not PP? (was Re: MIDP 2.0 beta for palmOne devices now available), Mark Balbes |
|---|---|
| Next by Date: | Re: Why MIDP, not PP? (was Re: MIDP 2.0 beta for palmOne devices now available), Eric Giguere |
| Previous by Thread: | Re: Why MIDP, not PP? (was Re: MIDP 2.0 beta for palmOne devices now available), Mark Balbes |
| Next by Thread: | Re: Plea for assistance..., Mark Young |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |