Skip to content

Instantly share code, notes, and snippets.

@BMU-Verlag
Created October 10, 2019 15:49
Show Gist options
  • Save BMU-Verlag/d67a0bee837af9edd4c8efd7acab70cc to your computer and use it in GitHub Desktop.
Save BMU-Verlag/d67a0bee837af9edd4c8efd7acab70cc to your computer and use it in GitHub Desktop.
private void switchEvalVisible() {
if (nextOperation == Operation.NONE || input.getText().isBlank() || lastResult.getText().isBlank() || lastResult.getText().equals("Error")) {
eval.setVisible(false);
} else {
eval.setVisible(true);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment