wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes Password Input Box Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Password Input Box" Watch "Password Input Box" New topic
Author

Password Input Box

Mamu Jan
Ranch Hand

Joined: Sep 21, 2005
Posts: 45
Hi,

Is there anything like a Password InputBox. The JOptionPane.showInputDialogBox() provides a text field but I need a password field in the input dialog box !!??

thanx
[ November 11, 2005: Message edited by: Mamu Jan ]

There is no patch for ignorance...
Paul Bourdeaux
Ranch Hand

Joined: May 24, 2004
Posts: 783
Will JPasswordField work?


“Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.” - Rich Cook
Mamu Jan
Ranch Hand

Joined: Sep 21, 2005
Posts: 45
Let me rephrase my question. I need an input "dialoag box" containing a password field instead of a text field.
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
Mamu Jan
Ranch Hand

Joined: Sep 21, 2005
Posts: 45
Originally posted by Michael Dunn:


Thanx Michael !! ur a life saver dude !
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19697
    
  20

You can use the same technique for any other type of component, such as JLists, JTrees, JCheckBoxes, you name it.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
subhendu panda
Greenhorn

Joined: Apr 25, 2012
Posts: 1
Thanks Michel for this grt help......love you,,,,thank you again
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Password Input Box