How do you get the VK code from a char that is a letter? It seems like you should be able to do something like javax.swing.KeyStroke.getKeyStroke(\'c\').getKeyCode()<
javax.swing.KeyStroke.getKeyStroke(\'c\').getKeyCode()<
AWTKeyStroke.getAWTKeyStroke('c').getKeyCode();
Slight clarification of Pace's answer. It should be single quotes (representing a character), not double quotes (representing a string).
Using double quotes will throw a java.lang.IllegalArgumentException (String formatted incorrectly).