Natasha said:
Is it possible to have keyPressed() in J2ME List?
No. keyPressed() is a method of javax.microedition.lcdui.Canvas.
javax.microedition.lcdui.List does *not* extend Canvas in the
specification, so how could it provide Canvas's methods?
Is commandAction() is
the only Listener method?
commandAction is the only method invoked by a Displayable object when a
Command has been fired, yes.
--
Darryl L. Pierce <
[email protected]>
Homepage:
http://mcpierce.multiply.com/
"McVeigh's lawyer got him the death penalty, which, quite frankly,
I could have done." - Jon Stewart
*** Free account sponsored by SecureIX.com ***
*** Encrypt your Internet usage with a free VPN account from
http://www.SecureIX.com ***