public static KeyEvent convertCefKeyEvent(CefKeyEvent cefKeyEvent, Component source) {
    //noinspection MagicConstant
    return new KeyEvent(source,
                        convertCefKeyEventType(cefKeyEvent),
                        System.currentTimeMillis(),
                        convertCefKeyEventModifiers(cefKeyEvent),
                        convertCefKeyEventKeyCode(cefKeyEvent),
                        cefKeyEvent.character,
                        KeyEvent.KEY_LOCATION_UNKNOWN);
  }
public static KeyEvent convertCefKeyEvent(CefKeyEvent cefKeyEvent, Component source)