public abstract void keyPressed (KeyEvent e)

Invoked when a key has been pressed. See the class description for KeyEvent for a definition of a key pressed event.

Parameters:
e    the event to be processed