public void removeAll(){
  while (!children.isEmpty())   remove(children.size() - 1);
}

public void removeAll ( ) { while ( ! children . isEmpty ( ) ) remove ( children . size ( ) - 1 ) ; }
removes all child layers from this group .
