Mega Code Archive

 
Categories / Java / Development Class
 

Moving the Cursor on the Screen

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