• Post Reply Bookmark Topic Watch Topic
  • New Topic

Limiting characters typed in JPasswordField  RSS feed

 
Barry Brashear
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can you limit the number of characters typed in a JPasswordField?
 
Craig Wood
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See the section Implementing a Document Filter on the Text Component Features page in the java tutorial.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!