• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to accept password on console Application  RSS feed

 
Girish Poojari
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
In a console application how can we hide password when it is entered on screen. I mean if I am accepting password from the Terminal. I know that I can do this using AWT setEchoChar method but this only works with Windows application.
Do we have any other method for this ?
Regards,
Girish
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!