This week's book giveaway is in the Android forum.
We're giving away four copies of Android Programming: The Big Nerd Ranch Guide and have Bill Phillips & Chris Stewart on-line!
See this thread for details.
Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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
Posts: 22215
38
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JPasswordField does that.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!