Aug 9, 2004 #1 manvee1 Programmer Jul 17, 2002 22 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");
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");
Aug 9, 2004 #2 AvaB Programmer Jun 23, 2004 16 CA Try passing a JPasswordField object as the message parameter for the JOptionPane. Upvote 0 Downvote