starts a timer to repeatedly carry out steps at the speed currently indicated by the speed slider up depending on the run option , it will either carry out steps for some fixed number or indefinitely until stopped . concode_field_sep int FIXED_STEPS concode_elem_sep JComponent controlPanel concode_elem_sep int INDEFINITE concode_elem_sep WorldFrame<T> parentFrame concode_elem_sep int INITIAL_DELAY concode_elem_sep GridPanel display concode_elem_sep DisplayMap displayMap concode_elem_sep int PROMPT_STEPS concode_elem_sep int MAX_DELAY_MSECS concode_elem_sep JButton stepButton concode_elem_sep ResourceBundle resources concode_elem_sep JButton runButton concode_elem_sep int MIN_DELAY_MSECS concode_elem_sep boolean running concode_elem_sep Timer timer concode_elem_sep JButton stopButton concode_elem_sep int numStepsSoFar concode_elem_sep Set<Class> occupantClasses concode_elem_sep int numStepsToRun concode_field_sep JComponent controlPanel concode_elem_sep void deleteLocation concode_elem_sep void addOccupant concode_elem_sep void stop concode_elem_sep boolean isRunning concode_elem_sep void locationClicked concode_elem_sep void makeControls concode_elem_sep void editLocation concode_elem_sep void step
void function ( ) { display . setToolTipsEnabled ( false ) ; parentFrame . setRunMenuItemsEnabled ( false ) ; stopButton . setEnabled ( true ) ; stepButton . setEnabled ( false ) ; runButton . setEnabled ( false ) ; numStepsSoFar = 0 ; timer . start ( ) ; running = true ; }