box.setLocation((int) ((scr.w - box.getWidth()) / 2), (int) (scr.h - box.getHeight()) / 2);
box.setVisible(true);
}
private void myMouseClicked(MouseEvent e) {
log.trace("mouseClicked: %d,%d", e.getX(), e.getY());
<BUG>Element newRect = crop(rect, e.getX() - xOff, e.getY() - yOff);
log.trace("action: crop from %s to %s", getActiveSide(), newRect);

zoom(newRect);
}</BUG>
private void myKeyTyped(KeyEvent e) {

box.setLocation((int) ((scr.w - box.getWidth()) / 2), (int) (scr.h - box.getHeight()) / 2);
box.setVisible(true);
}
private void myMouseClicked(MouseEvent e) {
log.trace("mouseClicked: %d,%d", e.getX(), e.getY());
crop(e.getX(), e.getY());
log.trace("action: crop from %s to %s", getActiveSide(), rect);
resizeToFrame();
}
private void myKeyTyped(KeyEvent e) {
