getPassword () gives me an array of characters, but I want a password similar to this ******to be displayed as MyPaSwOrd, how can I do this?
Guys, I don’t want to extract the password, I just want to write “Enter your password” inside JPasswordField (), and when the user clicks on it, it will disappear, and then he will type his own password, which is so * * * * * *
source
share