How do I restrict Users to only enter digits into a Text Field ? I want to check before the User clicks OK.........
posted 16 years ago
hi Dave, 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. Regds. Rahul