private void setMonth ( int newMonth , boolean select ) { if ( ! initialized || localInitialize ) { return ; } int oldMonth = month ; month = newMonth ; if ( select ) { comboBox . setSelectedIndex ( month ) ; } if ( dayChooser != null ) { dayChooser . setMonth ( month ) ; } firePropertyChange ( "month" , oldMonth , month ) ; }
Sets the month attribute of the JMonthChooser object . Fires a property change month .