1

I have a Java program that runs in the background without any UI.

Can it listen to keyboard input?

webnat0
  • 2,646
  • 5
  • 29
  • 43

1 Answers1

2

You can't do this, unless you use some native magic.

Bozho
  • 588,226
  • 146
  • 1,060
  • 1,140