• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Password Input Box

 
Mamu Jan
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Paul Bourdeaux
Ranch Hand
Posts: 783
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Will JPasswordField work?
 
Mamu Jan
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Let me rephrase my question. I need an input "dialoag box" containing a password field instead of a text field.
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Mamu Jan
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Michael Dunn:


Thanx Michael !! ur a life saver dude !
 
Rob Spoor
Sheriff
Pie
Posts: 20613
63
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use the same technique for any other type of component, such as JLists, JTrees, JCheckBoxes, you name it.
 
subhendu panda
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Michel for this grt help......love you,,,,thank you again
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic