Skip to Main Content

Global KeyListener

843807Oct 29 2002 — edited Nov 10 2002
Hello 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?
Comments
Post Details
Added on Oct 29 2002
2 comments
51 views