keyPressed() only works with 'Cancel' key

Printable View