public void addElement(Object anObject){
  p_data.add(anObject);
  fireIntervalAdded(this,p_data.size() - 1,p_data.size() - 1);
  if (p_data.size() == 1 && m_selectedObject == null && anObject != null)   setSelectedItem(anObject);
}

public void addElement ( Object anObject ) { p_data . add ( anObject ) ; fireIntervalAdded ( this , p_data . size ( ) - 1 , p_data . size ( ) - 1 ) ; if ( p_data . size ( ) == 1 && m_selectedObject == null && anObject != null ) setSelectedItem ( anObject ) ; }
add element at the end
