• Post Reply Bookmark Topic Watch Topic
  • New Topic

swing ignoring alphanumeric characters but accepting numeric characters

 
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
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!