import java.awt.Robot; public class Main { public static void main(String[] argv) throws Exception { Robot robot = new Robot(); robot.mouseMove(500, 500); } }