Content received from: http://JavaFAQ.nu/java-article16.html


Q: Is there any way to accept password from a java application.
Monday, September 23, 2002 (15:45:51)

Posted by

Question: Is there any way to accept password from a java application. As it is a password, IT SHOULD NOT BE SHOWN(ECHOED) WHILE IT IS ENTERED.

Answer: If you are using swing, you can use JPasswordField, and set your echo character.