dcsimg

How do I move the mouse cursor on the screen?

John Zukowski

Starting with 1.3 you can use the java.awt.Robot class:

Robot robot = new Robot();
robot.mouseMove(x, y);
Be sure your user is expecting this. Under normal circumstances, this should not be done.