Am incercat sa rezolv eroarea cu acest if.
if (text.contains("+") == true || text.contains("-") == true || text.contains(“x”) == true || text.contains("/") == true){ textField.setText(“Invalid input”); }