Reading in the next character from the console input stream will pause until the enter key is pressed, not when any key is pressed.
If it's acceptable for you to have a "press enter to continue",...
Type: Posts; User: helloworld922
Reading in the next character from the console input stream will pause until the enter key is pressed, not when any key is pressed.
If it's acceptable for you to have a "press enter to continue",...
If you want to use the standard command console, I'm not entirely sure that's possible (at least not without JNI).
The standard Java implementation of getting input from the command console waits...