The Scanner is working fine, when any input field is focused, but is it possible to get direct input from scanner in java? without any input field is set to be focused. Does java provide any api or libraray for handling this stuff?
Thanks for your consideration:)