How to determine if anything has been entered into the console window?
<p>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 <em>any key</em> - not just enter?</p>

<p>This would be somewhat similar to something like <a href="http://msdn.microsoft.com/en-us/library/471w8d85.aspx" rel="nofollow">Console.ReadKey()</a> in C#.</p>
