public void componentAdded(ContainerEvent e){
  Layer childLayer=(Layer)e.getChild();
  addProjectionListener(childLayer);
  if (!removedLayers.removeElement(childLayer)) {
    addedLayers.addElement(childLayer);
  }
  changeLayers(e);
}

public void componentAdded ( ContainerEvent e ) { Layer childLayer = ( Layer ) e . getChild ( ) ; addProjectionListener ( childLayer ) ; if ( ! removedLayers . removeElement ( childLayer ) ) { addedLayers . addElement ( childLayer ) ; } changeLayers ( e ) ; }
containerlistener interface method . should not be called directly . part of the containerlistener interface , and it ' s here to make the mapbean a good container citizen .
