How can I let my custom KeyListener
listen for combinations of ALT
(or CTRL
for that matter) + more than one other key?
Assume I have 11 different actions I want the application to do, depending on a combination of keys pressed. ALT + 0
- ALT + 9
obviously don't pose any problems, whereas for ALT + 1 + 0
(or "ALT+10" as it could be described in a Help file or similar) I cannot find a good solution anywhere on the web (or in my head). I'm not convinced that this solution with a timer is the only possible way.
Thanks a million in advance for any suggestions!
Edit: Actions 0-9 + action 10 = 11 actions. Thanks @X-Zero.