Another way to add a keylistener to a JComponent?

Printable View