HI!
can i get the pressed key code in my J2ME Polish Application ???
HI!
can i get the pressed key code in my J2ME Polish Application ???
Sure! Have you tried with the classic keyPressed() method?
Pit
Key pressed method works only By extending Canvas but i am using midlets and J2ME Polish ...
I'm not a J2mePolish expert, but if you use its Screen object or its subclasses, since they all extend Canvas, you should be able to manage key events as you do with Canvas.
Pit
Have you found any solution for catching key events under Polish?
I did not found a solution.
My code creates J2ME Polish "Form" and it does not handle key events
Hi markdude,
have you tried implementing handleKeyPressed/Released/Repeated methods?
Also, the J2MEPolish Form JavaDocs could help:
http://www.j2mepolish.org/javadoc/j2...h/ui/Form.html
Pit
Overriding keyPressed/keyReleased/keyRepeated methods is also good, just be sure to call the 'super' implementation of each (e.g.: super.keyPressed()) to allow j2mepolish to correctly work.
Pit