The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
January 2001

Advertisement

Advertisement

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:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us