posted 23 years ago
Hi,
If u insist in using a Text field then u can use
TextField tf = new TextField();
tf.setEchoChar('*');
here u can set the echo character(maybe *, or any char)
But note that this works only for TextField and not JTextField. So if u wanna use juz the awt classes, use TextField .
If u wanna use swing calles, use JPasswordField
Regards
saj