File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes JOptionPane (showInputDialog()) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JOptionPane (showInputDialog())" Watch "JOptionPane (showInputDialog())" New topic

JOptionPane (showInputDialog())

francis varkey
Ranch Hand

Joined: Sep 13, 2005
Posts: 169
Respected Sirs,

I want enter password in JOptionPane's InputDialog. How to replace the JTextField with JPasswordField. If it is impossible please give oother solution. Thanks in advance.

Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
I agree. Here's the link:
subject: JOptionPane (showInputDialog())
It's not a secret anymore!