int x = point.X + (rect.Width / 2);
int y = point.Y + (rect.Height / 2);
log.println("try to klick into the middle of the document");
rob.mouseMove(x, y);
rob.mousePress(InputEvent.BUTTON1_MASK);
rob.mouseRelease(InputEvent.BUTTON1_MASK);
} catch (java.awt.AWTException e) {
log.println("couldn't press mouse button");
}
} catch (java.lang.Exception e){
log.println("could not click into the scroll bar: " + e.toString());