selectingItem = true; dataModel.setSelectedItem(object); selectingItem = false;
    public void setSelectedItem(Object object) {        if ( isDifferent(object, dataModel.getSelectedItem()) ) {	    // Must toggle the state of this flag since this method	    // call may result in ListDataEvents being fired.	    selectingItem = true;	    dataModel.setSelectedItem(object);	    selectingItem = false;            if ( !delayEvent ) {         //       if (isDifferent(selectedItemReminder , dataModel.getSelectedItem())) {                    // in case a users implementation of ComboBoxModel                    // doesn't fire a ListDataEvent when the selection                    // changes.                    selectedItemChanged();          //      }                fireActionEvent();                delayedEvent = false;            } else {                delayedEvent = true;            }            reload(ReloadManager.RELOAD_CODE);	}    }