public void contentsChanged(ListDataEvent e){
  Object oldSelection=selectedItemReminder;
  Object newSelection=dataModel.getSelectedItem();
  if (oldSelection == null || !oldSelection.equals(newSelection)) {
    selectedItemChanged();
    if (!selectingItem) {
      fireActionEvent();
    }
  }
}

public void contentsChanged ( ListDataEvent e ) { Object oldSelection = selectedItemReminder ; Object newSelection = dataModel . getSelectedItem ( ) ; if ( oldSelection == null || ! oldSelection . equals ( newSelection ) ) { selectedItemChanged ( ) ; if ( ! selectingItem ) { fireActionEvent ( ) ; } } }
this method is public as an implementation side effect . do not call or override .
