Thanks to all. I fixed the Scanner and used the focus and it now works as expected. Cheers.
Type: Posts; User: darter
Thanks to all. I fixed the Scanner and used the focus and it now works as expected. Cheers.
Hello - in the cmd window the "while" loop will accept a key such as "1" or "2" and break out with "7" or greater and this works. But in Eclipse my keystroke inputs are not read, it seems.
I just installed Eclipse and am wondering if the following is normal. When I run a java program in Eclipse it cannot "read the keyboard" but it can print variable values okay. My program works fine...