aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Only Alpha or numeric chars in JTextField Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Only Alpha or numeric chars in JTextField" Watch "Only Alpha or numeric chars in JTextField" New topic
Author

Only Alpha or numeric chars in JTextField

Barry Brashear
Ranch Hand

Joined: Jun 05, 2001
Posts: 303
How can you set up a JTextField to only access either alpa or numeric
characters?

Thanks.
Don Kiddick
Ranch Hand

Joined: Dec 12, 2002
Posts: 580
Write a DocumentFilter. Check here.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Only Alpha or numeric chars in JTextField