Hello,
Please review fix for JDK9:
bug: https://bugs.openjdk.java.net/browse/JDK-8139227
webrev: http://cr.openjdk.java.net/~ssadetsky/8139227/webrev.00/
Win32 window owner query returns the browser frame for applet's child
window because there are no any other overlapped or popup windows on the
path. Since the browser frame is not an AWT window the focus proxy is
lost and synthetic focus doesn't work.
As a solution the AWT owner window is requested from the AWT parent in
case if AWT owner cannot be found using Windows owner.
--Semyon