Hi all,

Currently I am using the JOptionPane.showInputDialog
to get a single input from the user.

This is what I have:

value = JOptionPane.showInputDialog(this, "Enter
something", JOptionPane.QUESTION_MESSAGE, null, null,
null);

For one instance I need to ask the user for a password
before I execute a script for them. So, I need to not
display the password as they type it. Will
setEchoChar("*") work and if so how do I set that for
the TextField in the JOptionPane. If that is not the
best way, can someone please give me some guidance?

Thanks,
Salome


__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing

Reply via email to