code: public void itemStateChanged(ItemEvent e) {
  		if (e.getStateChange() == ItemEvent.SELECTED) {
  			int index = comboBox.getSelectedIndex();
  
  			if ((index >= 0) && (index != month)) {
  				setMonth(index, false);
  			}
  		}
  	}
docs: The ItemListener for the months.
  
  @param e
  the item event