I tried to make a bot for a game using java, using the robot class, I have the code working ok, and the cursor moves, but when it should simulate the click, it doesnt, it only simulates clicks inside the JFrame.
How can I make it simulate clicks outside the jframe, in the game windown?