开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜