public void updateFields()
    {
        safeSpeedSetpointDisplay.setText(String.format("%.2f", convertToMPH(TC.velocitySetpoint)) +" MPH");
        ctcSuggestedAuthority.setText(String.format("%.2f", convertToM(TC.ctcSuggestedAuthority)) +" M");
        ctcSuggestedSpeed.setText(String.format("%.2f", convertToMPH(TC.ctcSuggestedSpeed)) +" MPH");
        currentSpeedDisplay.setText(String.format("%.2f", convertToMPH(TC.vAct)) +" MPH");
        doorStatusDisplay.setText( (TC.doorStatus) ? ("Open") : ("Closed") );
        inputDoorsButton.setText( (TC.doorStatus) ? ("CLOSE DOORS") : ("OPEN DOORS") );
        inputDoorsButton.setSelected( TC.doorStatus );
        lightStatusDisplay.setText( (TC.lightStatus) ? ("On") : ("Off") );
        inputLightButton.setText( (TC.lightStatus) ? ("TURN LIGHTS OFF") : ("TURN LIGHTS ON") );
        inputLightButton.setSelected( TC.lightStatus );
        inputBrakeButton.setText( (TC.brakeStatus) ? ("RELEASE BRAKE") : ("SET BRAKE") );
        inputBrakeButton.setSelected( TC.brakeStatus );
        mboAuthorityDisplay.setText(String.format("%.2f", convertToM(TC.mboCommandedAuthority)) +" M");
        mboSpeedSetpoint.setText(String.format("%.2f", convertToMPH(TC.mboCommandedSpeed)) +" MPH");
        nextStopDisplay.setText(TC.nextStop);
        failureMessageDisplay.setText(TC.failureMessage);        
        powerOutputDisplay.setText(String.format("%.2f", TC.power/1000)  +" kW");
        speedLimitDisplay.setText(String.format("%.2f", convertToMPH(TC.speedLimit))  +" MPH");        
        inputSpeedSpinner.setValue(TC.controllerSpeedSetpoint);
        
        eBrakeDisplay.setText( (TC.eBrakeStatus) ? ("On") : ("Off") );
        resetEbrakeButton.setVisible(TC.eBrakeStatus);
    }