Advertisement
Guest User

benis

a guest
Nov 28th, 2012
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.42 KB | None | 0 0
  1. import java.awt.AWTException;
  2. import java.awt.Robot;
  3. import java.awt.event.InputEvent;
  4.  
  5. public class Main {
  6.     public static void main(String[] args) throws AWTException {
  7.         Robot robot = new Robot();
  8.         robot.mouseMove(200, 500);
  9.  
  10.         for (int i = 0; i < 1; i++) {
  11.             robot.mousePress(InputEvent.BUTTON1_MASK);
  12.             robot.mouseRelease(InputEvent.BUTTON1_MASK);
  13.         }
  14.     }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement