0

how to detect the type of the inpout are string ou no in javafx

Javafx

16th Feb 2022, 8:27 PM
Yasmin
Yasmin - avatar
2 Réponses
+ 1
You can find some ideas here: https://stackoverflow.com/questions/7555564/what-is-the-recommended-way-to-make-a-numeric-textfield-in-javafx Generally if you just want to validate that an input field contains only numeric digits, you can match it against a regular expression such as "\d+"
16th Feb 2022, 9:17 PM
Tibor Santa
Tibor Santa - avatar
0
Please send me the code that solves the problem, I don't understand yet
16th Feb 2022, 11:33 PM
Yasmin
Yasmin - avatar