private void mouseMove(@Nonnull Component target, @Nonnull Point... points) { for (Point p : points) { checkNotNull(p); robot.moveMouse(target, p.x, p.y); } }
private void dragOver(@Nonnull Component target, int x, int y) { robot.moveMouse(target, x - 4, y); robot.moveMouse(target, x, y); }