<AWT Dev> <Awt Dev> [9] Review Request for 8139227: Text fields in JPopupMenu structure do not receive focus in hosted Applets

Semyon Sadetsky semyon.sadetsky at oracle.com
Mon Oct 19 11:08:28 UTC 2015


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



More information about the awt-dev mailing list