public void setEnabled ( boolean enabled ) { super . setEnabled ( enabled ) ; if ( dateEditor != null ) { dateEditor . setEnabled ( enabled ) ; calendarButton . setEnabled ( enabled ) ; } }
Enable or disable the JDateChooser .