int x = xControl+diffX, y = yControl+diffY,
int x = xControl+p.x-anchor.x, y = yControl+p.y-anchor.y,
    private void move(Point p)    {        int diffX = p.x-anchor.x, diffY = p.y-anchor.y;        Rectangle r = currentShape.getBounds();        int x = xControl+diffX, y = yControl+diffY,            w = r.width,  h = r.height;        if (areaValid(x, y, w, h)) {            ROIFactory.setShapeBounds(currentShape, currentROI.getShapeType(),                                         x , y, w, h);            moving = true;            view.moveAndDraw(currentShape);         }    }