int y = point.Y + (rect.Height / 2);
rob.mouseMove(x, y);
System.out.println("Press Button");
rob.mousePress(InputEvent.BUTTON3_MASK);
System.out.println("Release Button");
rob.mouseRelease(InputEvent.BUTTON3_MASK);
System.out.println("done");
} catch (java.awt.AWTException e) {
log.println("couldn't press mouse button");
}