News

For example, when the user presses a key, the MIDP runtime calls the Canvas.keyPressed() method and passes the key code. By default, the keyPressed() method does nothing. It just ignores the event.