How to do the KeyListener for doing the "Shift" + "+" in Java? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

How to do the KeyListener for doing the "Shift" + "+" in Java?

I want to do the part when I hold shift and press = in keyboard, The "+" in keyboard will be triggered

9th Feb 2018, 11:37 PM
Cheesy Beer
Cheesy Beer - avatar
1 Antwort
+ 2
As far as key listening for multiple keys this link should help https://stackoverflow.com/questions/19823633/multiple-keys-in-keyevent-listener and for triggering a key you could use the Robot class.
25th Feb 2018, 8:11 PM
Freetoast
Freetoast - avatar