• Post Reply Bookmark Topic Watch Topic
  • New Topic

Password

 
sachin dabhade
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,
i have a problem with text box.
i want the text box to intake password.
i want the password to be displayed as "******"
as in general any password text box have.
i dont know how to do it in awt/swing.
anybody to help will be appretiated.
thanks in advance.
sachin
 
Rene Liebmann
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You shouldn't use JTextField for this. Try out JPasswordField! That's what you need.
Bye
Rene
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!