Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Want to show **** in input dialog.  RSS feed

 
Vikas Kumar Sahu
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have seen a method showInputDialog(...) for getting input in jdialog
class, but I want that user input its data but show always * inplace
of typed character, like JPasswordField class , is there any method
in jdialog or any solution.
 
Brian Pipa
Ranch Hand
Posts: 299
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use a JDialog and add a JPasswordField to it. Read the Javadocs for JDialog about how to add your own components (at the top of the Javadoc)
brian
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!