public void sessionReady ( boolean isReady ) { if ( isReady ) { speedSlider . setValue ( session . getClockPeriod ( ) ) ; } startAction . setEnabled ( isReady ) ; speedSlider . setEnabled ( isReady ) ; stepAction . setEnabled ( isReady ) ; reloadAction . setEnabled ( isReady ) ; }
Changes the UI depending on whether the session is ready or not