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

JTextField or JFormattedTextField to take only String value  RSS feed

 
Sri Rangan
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I make JTextField or JFormattedTextField to take only String (char) value
Thanks
Sri
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You create your own document. Their is an exmple in the sun tutorial for numbers. Just change that to char.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!