This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** numberfield can be any input field, like spinner, textfield, etc. | |
| /* here numberfield is textfield | |
| /* I commented the necessary imports. | |
| **/ | |
| //import java.util.function.UnaryOperator; | |
| //import javafx.scene.control.TextFormatter; | |
| @FXML | |
| private Spinner<Double> balanceField; |
NewerOlder