In Java, I’m looking for a method that would allow me to wait for the user to press any key before continuing (or if one does not currently exist, I’m looking to implement it with a BufferedReader, if possible). How would I determine if the user has typed any key – not just enter?
This would be somewhat similar to something like Console.ReadKey() in C#.
You may try jcurses.
Sample: