public void displayResult() { Integer result = model.getResult(); resultTextField.setText(result.toString()); }