control.setState(ROIAgt.CONSTRUCTING);
    private void setType(int type, boolean b)    {        paintedDrawingButtons(b);        control.setType(type);        control.setState(ROIAgt.CONSTRUCTING);    }