I wonder if you could use java.io.Console (Java 6) somehow..
possibly in combination with System.in. If only Console exposed
methods to turn echo on and off..sigh... looks like an RFE for Sun
though.
Actually last time I tried that on a Unix machine that didn't change
much. What you need to play with is termio, at least on Unix based
machines, since Windows is another beast. You can grab a native lib
that might help you:
I used this with JDK 1.4 and unfortunately I am not aware of a pure
Java solution. Let me know how it works out.
Andre
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden