Move the Cursor on the Screen in Java
Description
The following code shows how to move the Cursor on the Screen.
Example
/* ww w.j a va 2s . co m*/
import java.awt.Robot;
public class Main {
public static void main(String[] argv) throws Exception {
Robot robot = new Robot();
robot.mouseMove(500, 500);
}
}