question: public void updateComboBox ( JComboBox < Schedule > box ) { box . removeAllItems ( ) ; box . addItem ( null ) ; for ( Schedule schedule : getSchedulesByNameList ( ) ) { box . addItem ( schedule ) ; } }
target:  Update a JComboBox with the latest schedules.