+ 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 ответов
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