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
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