Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.awt.AWTException;
- import java.awt.Robot;
- import java.awt.event.InputEvent;
- public class Main {
- public static void main(String[] args) throws AWTException {
- Robot robot = new Robot();
- robot.mouseMove(200, 500);
- for (int i = 0; i < 1; i++) {
- robot.mousePress(InputEvent.BUTTON1_MASK);
- robot.mouseRelease(InputEvent.BUTTON1_MASK);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement