File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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.
I agree. Here's the link:
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-2015