keyPressed method not working?

Printable View