Build 57 of Java 6 includes a new class java.io.Console.
Javadocs are at the link above. And you can also leran more at Alan Bateman's blog .
Highlights:
- Obtain the Console object with System.console(). It returns null if there is no console.
- a readPassword() method for reading input that is not echoed on the console
- a readLine() method for reading input from the user. Much simpler than wrapping a BufferedReader around an InputStreamReader around System.in
- Also supports printf() and format() methods just like System.out does.




Cool it was long overdue