I\'m creating this simple login code for an ATM machine.
You enter username and password and you logs in, that works just great. Since I\'m not connecting to a database or a
Michael, have a look at the description on Sun's website:
https://web.archive.org/web/20120214061606/http://java.sun.com/developer/technicalArticles/Security/pwordmask
Or, if you're using Java 5 or newer, you can use this:
How to mask a password in Java 5?