Hello,
I've already some code which writes the position of your mouse to a .txt file, the important part is:
OutputLog(MouseInfo.getPointerInfo().getLocation().x+", "+MouseInfo.getPointerInfo().getLocation().y);
The only problem is, that I can't move my mouse to the location I want. I heard you could use the Robot class for this, but it didn't work out as I wanted -I guess I screwed the code up-. So I'd like to know how I'm able to move my mouse, left click and right click, all at custom locations, given using JOptionPane. Could someone please write an easy example of all those things?
Thanks in advance,
Yves.
Edited by: Yves W on 3-apr-2011 6:07