Lines Matching refs:robot
4 @summary verifies that robot could accept extra buttons
16 static Robot robot;
32 Util.waitForIdle(robot);
40 robot = new Robot();
41 robot.mouseMove(frame.getLocationOnScreen().x + frame.getWidth()/2, frame.getLocationOnScreen().y + frame.getHeight()/2);
49 robot.mousePress(InputEvent.BUTTON1_MASK);
50 robot.delay(50);
51 robot.mouseRelease(InputEvent.BUTTON1_MASK);
52 Util.waitForIdle(robot);
56 robot.mousePress(InputEvent.BUTTON2_MASK);
57 robot.delay(50);
58 robot.mouseRelease(InputEvent.BUTTON2_MASK);
59 Util.waitForIdle(robot);
62 robot.mousePress(InputEvent.BUTTON3_MASK);
63 robot.delay(50);
64 robot.mouseRelease(InputEvent.BUTTON3_MASK);
65 Util.waitForIdle(robot);
69 robot.mousePress(buttonMask[i]);
70 robot.delay(50);
71 robot.mouseRelease(buttonMask[i]);
72 Util.waitForIdle(robot);