+ 1

Accepting selected data type

How to select specific datatype during inputing value from user and shows error if datatype doesnt matches in java NetBeans. Q. Write code to accept only "Alphabets And Dot(.) as input in textfield.

19th Aug 2019, 9:35 AM
⚡ Yash Raj đŸ‘šâ€đŸ’» ⚡
⚡ Yash Raj đŸ‘šâ€đŸ’» ⚡ - avatar
2 Answers
0
You can use regular expressions.
19th Aug 2019, 11:43 PM
Andrés Juliån Gonzålez
Andrés Juliån Gonzålez - avatar
0
Andrés Juliån Gonzålez what does this mean?
17th Nov 2019, 4:08 AM
⚡ Yash Raj đŸ‘šâ€đŸ’» ⚡
⚡ Yash Raj đŸ‘šâ€đŸ’» ⚡ - avatar