public void configureGuiForCalculationPhase(boolean inCalculationPhase) {
        springLenghtsTextField.setEnabled(!inCalculationPhase);
        springLenghtsSelectButton.setEnabled(!inCalculationPhase);

        offsetTextField.setEnabled(!inCalculationPhase);

        anglesFileTextField.setEnabled(!inCalculationPhase);
        anglesSelectButton.setEnabled(!inCalculationPhase);

        outputFileTextField.setEnabled(!inCalculationPhase);
        outputSelectButton.setEnabled(!inCalculationPhase);

        calculateButton.setEnabled(!inCalculationPhase);
    }