recalculatePanNodes();
    public void setActiveRegion(Rectangle2D region)    {        if(region != null)        {            activeRegion = region;            recalculatePanNodes();        }        else        {            region = new Rectangle2D.Double(0,0,0,0);        }    }