How should I handle the key events in J2ME?
How should I handle the key events for CustomIt开发者_JAVA技巧em
in J2ME?
Here is the complete example
As the documentation says.
Example of CustomItem usage
I got the solution. We should override the method "protected void keyPressed(int key)" of CustomItem in the derived class of CustomItem.
精彩评论