<AWT Dev> [8] Review Request: JDK-8017188 [macosx] policy tool comboboxes doesn't work properly since jdk8b40

Sergey Bylokhov sergey.bylokhov at oracle.com
Tue Sep 10 04:02:54 PDT 2013

Hi, Petr.
Actually this change broke our delegate's hierarchy, all our delegates use delegateContainer as a parent. And this container intentionally do not use parent of the peer. Probably we can make a changes in the CPlatformWindow when we create and show popup? 

Hello, AWT Team.

Please review the fix for the following issue:
(The issue might not be on bugs.sun.com yet)
The fix is available at:

When the Choice popup is created from the APPLICATON_MODAL dialog it is also blocked by that dialog, because we do not set the owner for a frame underlying the popup. 
The problem is that a swing popup, which's a delegate of the AWT popup on macosx does not know anything about it's parent, so Swing code cannot find a window to set as an
owner in PopupFactory.Popup.getHeavyWeightPopup. The proposed changes fix this problem.

With best regards. Petr.

More information about the awt-dev mailing list