private void testMouseWheelZooming() { window.pressKey(VK_CONTROL); ImageComponent c = ImageComponents.getActiveIC(); robot.rotateMouseWheel(c, 2); robot.rotateMouseWheel(c, -2); window.releaseKey(VK_CONTROL); }
private void shiftMoveClickRandom() { window.pressKey(VK_SHIFT); int x = 200 + random.nextInt(400); int y = 200 + random.nextInt(400); move(x, y); click(); window.releaseKey(VK_SHIFT); }
private void altDrag(int x, int y) { window.pressKey(VK_ALT); drag(x, y); window.releaseKey(VK_ALT); }