public void attach(Component comp){
  if (comp != owner) {
    components.add(comp);
  }
}

public void attach ( Component comp ) { if ( comp != owner ) { components . add ( comp ) ; } }
attach the given component to the owner of this instance .
