I want to quickly click on another application when some event occurs in my Java application.
Given that I know the coordinates on the screen where I want to register a click, is it possible for my Java app to tell the OS to click there?
I will probably want to register multiple clicks.
I may also/instead want to register keyboard strokes. Is this possible also?
You should take a look at the
Robotclass in Java. It will allow you to simulate clicks and mouse movement.The methods in particular that you probably want are: