I want to make a new Application which I can control via keys from outside GUI. If the key was pressed there should be a text field changing at first. At last I want to make a timer start on keyPress. I googled and visit Stack Overflow but found nothing that could help me really to solve my problem.
I found a post on Stack Overflow and tried the code. But I just get the key in a console and don't know how to request it on a GUI which is out of focus.
Any help would be highly appreciable.