public synchronized void updateLayerLabels(){
  for (  LayerPane pane : getPanes()) {
    pane.updateLayerLabel();
  }
}

public synchronized void updateLayerLabels ( ) { for ( LayerPane pane : getPanes ( ) ) { pane . updateLayerLabel ( ) ; } }
update the layer names - if a layer name has changed , tell the layerpanes to check with their layers to update their labels .
