Getting keyEvents even though the program is not in focus

Printable View