import java.awt.*;
import java.awt.event.InputEvent;
Robot robot = new Robot();
robot.mouseMove(1507, 822);//鼠标的移动像素点,用于由于软件不能很敏感的识别鼠标的情况下使用的
robot.delay(5000);
robot.mousePress(InputEvent.BUTTON1_MASK);
robot.delay(1000);
robot.mouseRelease(InputEvent.BUTTON1_MASK);
robot.delay(1000);