ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Hiding input variable..
Date Wed, 06 Nov 2002 12:39:21 GMT
On Wed, 6 Nov 2002, Soer J. <> wrote:

> Is it possible to hide the typing ?

No, you cannot reliably suppress characters while reading from 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.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message