Keypress simulation problems
I have a problem with my keypress simulation program.
I am using Robot class .keyPress(int keycode) function for simulation and Swing timer for generating
It works generally fine, the only problem that I have is that if I start a game that I have, then the Java program still runs but no keypress reaches that game, so I can't use it there.
Could you girls/guys help me with this one, it's purely for experimentation and for gaining knowledge.