Thomas G. Marshall < XXXX@XXXXX.COM > wrote or quoted:
The URL covers that too:
``If you wish to provide a graphical login dialog box for your
application, you can use the AWT's TextField class, which is a text
component that allows editing of a single line of text. To mask the
password field, use the setEchoChar method. For example, to set the
echo char to an asterisk, you would do the following:
TextField password = new TextField(8);
There's also a Swing version.
It's a real problem for those writing command line tools in Java.
Echoing passwords to the screen is simply not normally acceptable.
It's good that there's a way around the problem - even if it is ridiculous.
|im |yler http://www.yqcomputer.com/
@XXXXX.COM Remove lock to reply.