Search code examples
javajava-memidplcdui

How should I handle the key events in J2ME?


How should I handle the key events for CustomItem in J2ME?


Solution

  • I got the solution. We should override the method "protected void keyPressed(int key)" of CustomItem in the derived class of CustomItem.