Search code examples
javaswingjframecharacterjpasswordfield

replacing the dot character in the password field, Jframe, Java


I want to ask how can i change the character in the password field that was the point I want to replace with a star ???

i'm using Jframe, Java


Solution

  • PasswordTextField.setEchoChar('*');