Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JOptionPane and password question

Status
Not open for further replies.

manvee1

Programmer
Jul 17, 2002
22
0
0
US
Is there anyway I can set the echo character in the textfield of the joptionpane in the code below to "*"

code....
String inputValue = JOptionPane.showInputDialog("Enter Password");
 
Try passing a JPasswordField object as the message parameter for the JOptionPane.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top