do you guys know how to validate a text in JTextField(i mean like whether its a number or not....)??? please help me out......
Post a Reply
|Oldest Newest Rating|
· January 4, 2015
You could use this utility class: https://github.com/BranislavLazic/SwingTutorials/blob/master/src/JNumberTextField.java It will allow only insertion of numbers, "-" and "." characters.
Java / Android Development
Very popular language used to create desktop applications, website applets, and Android apps.
|Bucky Roberts Administrator|