This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes swing ignoring alphanumeric characters but accepting numeric characters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "swing ignoring alphanumeric characters but accepting numeric characters" Watch "swing ignoring alphanumeric characters but accepting numeric characters" New topic
Author

swing ignoring alphanumeric characters but accepting numeric characters

max soyosa
Greenhorn

Joined: Feb 25, 2010
Posts: 24
hi everyone!

i have a text box that do not accept alpha numeric characters but it accept numeric characters. How can i do that?
Abhilash Etikala
Ranch Hand

Joined: Nov 08, 2009
Posts: 38

You can use jFormattedTextField which accepts only numeric values according to the specified format...


Hope this helps...

Regards
Abhilash
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: swing ignoring alphanumeric characters but accepting numeric characters
 
jQuery in Action, 3rd edition