Point p = getPoint(where, "mouse move");
exec.mouseAction(p.x, p.y);
}
public void mouseMove(Coordinates where, long xOffset, long yOffset) {
Point p = getPoint(where, "mouse move");
// We can't compare against Integer.MAX_VALUE and throw because this method isn't defined as
// able to throw an Exception. Weird things will just happen here...
int xO = (int) xOffset;
int yO = (int) yOffset;
lastMousePosition = new Point(p.x + xO, p.y + yO);
exec.mouseAction(p.x + xO, p.y + yO);
}