Click to See Complete Forum and Search --> : StringTokenizer ??


April 27th, 2000, 06:59 PM
How can I control a JTextField, to have only floats (0.1 to 1.0) between ","
or space as delimeters, if the number is out of the bound (0.1-1.0)
or the "," is missing, I want to pop up a message before Submit.
Thanks in advance.

bharath
April 29th, 2000, 06:51 AM
hai,
i think u can add the key listeener for the text field and check the typed letteer in an instance and consume() the action if not required

Hope u got it.

bharath
Email: bharath@vsofti.stph.net

S.V Bharath Reddy
Software Engineer,
Hyderabad.