Friday, April 11, 2003 06:47 AM
There is no cross platform way to do this in Java.
You can only get data from System.in when the user presses the enter key. This means you can not react to each key stroke and hide it.
Native methods must be used for this purpose.
You might be able to find libraries that will work for you. Perhaps something like this: http://sourceforge.net/projects/javacurses/