<AWT Dev> <Awt Dev>  Review Request for 8139227: Text fields in JPopupMenu structure do not receive focus in hosted Applets
alexandr.scherbatiy at oracle.com
Thu Nov 5 14:50:53 UTC 2015
On 10/19/2015 2:08 PM, Semyon Sadetsky wrote:
> 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.
- There is the check in the while loop for the owner to null. It
seems that the initialOwner can be also null in the same way.
- Why did the InitOwner(AwtWindow *owner) method work in the JDK 6
for the described case?
More information about the awt-dev