0

This might seem like a very simple problem, but I am unsure how to do it.

If I have Scanner attached to System.in, and want to return a token immediately upon pressing any button (i.e. not having to press enter to proceed), how can I set this up? Thanks in advance.

csvan
  • 8,782
  • 12
  • 48
  • 91

0 Answers0