public static KeyEvent javaKeyEventWithID(KeyEvent javaKeyEvent, int id) {
    return new KeyEvent(javaKeyEvent.getComponent(),
                        id,
                        javaKeyEvent.getWhen(),
                        javaKeyEvent.getModifiers(),
                        javaKeyEvent.getKeyCode(),
                        javaKeyEvent.getKeyChar(),
                        javaKeyEvent.getKeyLocation());
  }
public static KeyEvent javaKeyEventWithID(KeyEvent javaKeyEvent, int id)