the new http://download.oracle.com/javase/6/docs/api/java/io/Console.html class seems ok for user input from the console, however, it seems to provide no way to read a line but with the default already filed in (so the user only has to press enter to confirm or delete to modify).
Is it possible?
I guess it should with the Robot class and a thread, and translating the strings to keycodes (which would be a problem since i don’t control them), but is there another better way?