This page contains an archived post to the Java Answers Forum made prior to February 25, 2002.
If you wish to participate in discussions, please visit the new
Artima Forums.
Message:
Y consume() of InputEvent not working with JTextField
Posted by ruchi and hema on January 02, 2001 at 9:53 AM
hi friends... Actully in our project work we need the PhoneNumber field should not accept the characters..and special Symbols..for that we tried out this consume() in AWT that is perfectly working but with Swing when we do same with JTextField that is not working ..for TextField is works nicely..can anyone give us the solution ... Thanks Ruchi and Hema
Replies:
|