recalculatePanNodes();
    public void cameraResized(Rectangle2D cameraBounds)    {        // OK, so the hotspots will be the margins *unless* for some reason         // someone was stupid enough to set the margins larger than the         // bounds, in which case we'll do nothing because someone was stupid         // enough to pull off that kind of nonsense.  Heavens to Betsy.        if(cameraBounds == null ||           cameraBounds.getWidth() <= edgeDistance*2 ||           cameraBounds.getHeight() <= edgeDistance*2)        {            invalidRegion = true;            return;        }        else invalidRegion = false;        this.cameraBounds = cameraBounds;                recalculatePanNodes();    }