/** {@inheritDoc} */ public void sendEvent(InputEvent event) { if (event != null) { // Convert OpenGL coordinates to Windows. if (event instanceof MouseEvent) event = convertToWindows((MouseEvent) event); // Send the AWT InputEvent to the native WebView object if (this.webViewWindowPtr != 0) WindowsWebViewJNI.sendEvent(this.webViewWindowPtr, event); } }