In Swing, the password field has a
char) method instead of the usual
String) method. Similarly, I have come across a suggestion not to use
String to handle passwords.
String pose a threat to security when it comes to passwords?
It feels inconvenient to use