On Wed, 6 Nov 2002, Soer J. <[EMAIL PROTECTED]> wrote:

> Is it possible to hide the typing ?

No, you cannot reliably suppress characters while reading from
System.in in Java at all.  There are workarounds like echoing
backspace characters like mad, but it doesn't really work.

Writing an AWT InputHandler and using a TextField with the echoChar
set (or Swing and JPasswordField) would work, though.

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@;jakarta.apache.org>

Reply via email to