if (lpb != null) { lpb.setLayersPanel(this); }
    public void setControls(LayerControlButtonPanel lpb) {        controls = lpb;        if (lpb != null) {            lpb.setLayersPanel(this);        }    }