• Post Reply Bookmark Topic Watch Topic
  • New Topic

swing question

 
Abigail Decan
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i need a password program that does the following:
- only shows the character count
- toggles between seeing the actual letters and character count in the text field with a button

i don't know how to update the character count as the user is counting.
i read the oracle tutorial, and i have a vague idea that i'm supposed to use Document Listener but i'm quite clueless here.

for the second part i'm thinking about using white space for the masking character and unmasking the field.


 
Stephan van Hulst
Bartender
Posts: 6583
84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ShowSomeEffort: please show us what you've tried so far.

Moving to Swing.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!