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