giovedì 15 novembre 2012

Move mouse cursor in java

This is the code :

import java.awt.AWTException;
import java.awt.Robot;

public class moveCursor {
  public static void main(String[] args) {
    try {
        Robot r = new Robot();
        r.mouseMove(550,550);
    } catch(AWTException e) {}
  }
}

Nessun commento:

Posta un commento