I am developing a core
java application with no swing package. It requires to take user name and password by prompting the user to key in. It needs to display '*' character whenever user enters password character on the screen.
I am using System.in to read the input.
I know, if I use swing / web jars, then it would be easier to use password field to get the password from user. My requirement is not to use either of the package.
What would be the better way to implement this functionality?
Makesh