public void removeLayoutComponent(final Component child){
  final String name=child.getName();
  if (name != null) {
    childMap.remove(name);
  }
}

public void removeLayoutComponent ( final Component child ) { final String name = child . getName ( ) ; if ( name != null ) { childMap . remove ( name ) ; } }
removes the specified component from the layout .
