The Robot class is not very smart. The combination of key codes you need to use is keyboard dependent. You can't always just use the key code of the character you want when a shift is also required. You need to use the key code of the character of the key you actually press. For example on my keyboard I would use:
Next I changed your do type methods so that the key events are generated in the proper order:
posted 7 years ago
Got it! thanks, using the SHIFT (this will not work on a non QWERTY keyboard) but that's not a problem on my end. THANKS!!!
Yeast devil! Back to the oven that baked you! And take this tiny ad too: