private boolean isCompleteInputValid() {
        return massesTextField.getBackground() != ERROR_BACKGROUND_COLOR
                && connectionMapTextField.getBackground() != ERROR_BACKGROUND_COLOR;
    }