}
}
protected void selectedItemChanged() {
if (selectedItemReminder != null) {
ItemEvent itemEvent = new ItemEvent(JComboBox.this, ItemEvent.ITEM_STATE_CHANGED, selectedItemReminder, ItemEvent.DESELECTED);
fireItemStateChanged(itemEvent);
}
Object newSelection = dataModel.getSelectedItem();
if (isEditable || getIndex(newSelection) != -1) {
ItemEvent itemEvent = new ItemEvent(JComboBox.this, ItemEvent.ITEM_STATE_CHANGED, newSelection, ItemEvent.SELECTED);
fireItemStateChanged(itemEvent);
}
}