Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Limiting characters typed in JPasswordField

 
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
Pie
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