Reputation: 7729
What would be the good way to catch combinations of keys on in JFrame, it is quite messy when using only key listener, is there any framework/library that handles this in a convenient configurable way?
Upvotes: 0
Views: 242
Reputation: 44808
You might be looking for key bindings. As blackcompe says, it uses the KeyStroke class. Tutorial
KeyStroke
Upvotes: 4