I want to "Select all" via a robot pressing the keys Control and A, but i dont want the keyboardListener to notice it as input. Is there another way to use "Select all" or a way to differentiate between the two input types?
Edit: I'm using the JNativeHook NativeKeyboardListener, not the normal one, thought I'd point that out, maybe it has some special abilities. :)
You could just set the selected range on the appropriate control. No keyboard is needed for this, so it won't be handled by a keyboard listener.