Why are some KeyEvent keycodes throwing “IllegalArgumentException: Invalid key code”?

后端 未结 2 1664
清酒与你
清酒与你 2020-12-07 03:32

I\'m trying to automate some processes using Robot and it seems certain keycodes (only symbols that require you to hold shift when typing it normally) in

2条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-07 04:21

    I don't know Robot, but isn't that because it needs to be two keys pressed to an exclamation mark to be inserted.

    There are no exclamation mark key on the keyboards.

提交回复
热议问题