Hello everyone,
a program I am writing needs to recognize keystrokes like CTRL pressed + Shift pressed + A typed.
For this purpose i implemented a java.awt.event.KeyListener, but have problems to define the above-mentioned key situation, because the methods keyPressed() and KeyTyped() don't seem to interact with each other.
Can you give me some helpful advice about listening to more complex key events like a combination of keys?
Thanks a lot,
Maria
a program I am writing needs to recognize keystrokes like CTRL pressed + Shift pressed + A typed.
For this purpose i implemented a java.awt.event.KeyListener, but have problems to define the above-mentioned key situation, because the methods keyPressed() and KeyTyped() don't seem to interact with each other.
Can you give me some helpful advice about listening to more complex key events like a combination of keys?
Thanks a lot,
Maria