Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

swing ignoring alphanumeric characters but accepting numeric characters  RSS feed

 
max soyosa
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 38
Java MySQL Database PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use jFormattedTextField which accepts only numeric values according to the specified format...


Hope this helps...

Regards
Abhilash
 
The only taste of success some people get is to take a bite out of you. Or this tiny ad:
Thoughts on deprecation in Java
https://coderanch.com/t/683016/java/Deprecation-Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!