--- old/src/java.desktop/unix/classes/sun/awt/X11/XComponentPeer.java 2015-09-11 00:11:25.872409700 +0300 +++ new/src/java.desktop/unix/classes/sun/awt/X11/XComponentPeer.java 2015-09-11 00:11:25.371309500 +0300 @@ -285,7 +285,7 @@ @SuppressWarnings("deprecation") final public boolean requestFocus(Component lightweightChild, boolean temporary, boolean focusedWindowChangeAllowed, long time, - CausedFocusEvent.Cause cause) + FocusEvent.Cause cause) { if (XKeyboardFocusManagerPeer. processSynchronousLightweightTransfer(target, lightweightChild, temporary, @@ -525,7 +525,7 @@ // WindowEvent wfg = new WindowEvent(parentWindow, WindowEvent.WINDOW_GAINED_FOCUS); // parentWindow.dispatchEvent(wfg); // } - XKeyboardFocusManagerPeer.requestFocusFor(target, CausedFocusEvent.Cause.MOUSE_EVENT); + XKeyboardFocusManagerPeer.requestFocusFor(target, FocusEvent.Cause.MOUSE_EVENT); } break; }