This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

which class to use for password with no echo(not Console class)

 
Ian Su
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which class to use for password with no echo.Except Console class,guide me some classes.Thank you very much
 
Daniel Marti
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no class at the moment that allows you to not show/mask input in console. That is something that has been asked for a long time though...
Anyway a google search for "java no echo" will present you with a workaround: Password Field Workaround
 
Ian Su
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Daniel Marti wrote:There is no class at the moment that allows you to not show/mask input in console. That is something that has been asked for a long time though...
Anyway a google search for "java no echo" will present you with a workaround: Password Field Workaround


Thank you Mr Marti.
 
Paul Clapham
Sheriff
Pie
Posts: 20950
31
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JPasswordField does that.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic