Keylistener not working when screen is constantly refreshed

Printable View