Global KeyListener
843807Oct 29 2002 — edited Nov 10 2002Hello everyone!
I have a swing form with a bunch of buttons and text fields and I want to know when the user is pressing the Ctrl-key.
It feels really stupid to add a keylistener to every single button and textfield but it's the only way I know.
Is there a better solution?