A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
User Input into a Text Field
Joined: May 16, 2000
Jul 10, 2000 04:39:00
How do I restrict Users to only enter digits into a Text Field ?
I want to check before the User clicks OK.........
Joined: Nov 22, 2008
Jul 10, 2000 20:19:00
IMO u will have to use consume() method of the AWTEvent class to consume the events of any key pressed/released that u want. once consumed the keys will not be shown in the text field/area.
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: User Input into a Text Field
Drag text field on label and set label's text in textfield
popup form - howto get data ? from newbie
SETTING FOCUS ON A TEXT FIELD
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014