public void reinitialize(){
  leftOf.clear();
  other.clear();
  rightBound.setLeft(0);
  height=0;
  for (int i=0; i < diagram.getNumberOfLifelines(); i++) {
    addLifelineSlot();
  }
}

public void reinitialize ( ) { leftOf . clear ( ) ; other . clear ( ) ; rightBound . setLeft ( 0 ) ; height = 0 ; for ( int i = 0 ; i < diagram . getNumberOfLifelines ( ) ; i ++ ) { addLifelineSlot ( ) ; } }
this method is called by the diagram when all objects / lifelines are known .
