What's the keycode of the square brackets
问题 I'm trying to use the Robot class in Java and type some text. Unfortunately I'm having problems finding the key codes of the square brackets, this symbol | and this symbol `. I can't find them in the KeyEvent constants. I want to use them, because the text i'm typing is in cyrillic and these symbols represent characters in the alphabet. Thanks in advance. 回答1: It's in the JavaDoc for KeyEvent KeyEvent.VK_OPEN_BRACKET and KeyEvent.VK_CLOSE_BRACKET Edit From the KeyEvent JavaDoc This low-level