Is there by any chance a way to change a string to something like a password ie **??
the * should still have the value of the password, but just be masked.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t set a password string to
"****"and still have the string have the password hidden in it. But you can use the JPasswordField when you’re getting passwords from a user to mask them visually (in case of prying eyes).