public void disposeAll(){
  Layer[] toDispose=children.toArray(new Layer[children.size()]);
  removeAll();
  for (  Layer child : toDispose)   child.close();
}

public void disposeAll ( ) { Layer [ ] toDispose = children . toArray ( new Layer [ children . size ( ) ] ) ; removeAll ( ) ; for ( Layer child : toDispose ) child . close ( ) ; }
removes and disposes all child layers from this group .
