javafx remove styleClass code example Example: remove a styles css class with javafx textfield.setStyle(null);