Issue with paintComponent() or KeyListener

Printable View