while(true) {. Point p = MouseInfo.getPointerInfo().getLocation(); // Mouse location. robot.mouseMove(p.x, p.y); // trigger event, this makes the OS to.
確定! 回上一頁