<AWT Dev> <AWT dev>[9] Review request for 8157163: AWT FileDialog does not inherit icon image from parent Frame

Hendrik Schreiber hs at tagtraum.com
Mon May 23 18:18:54 UTC 2016


Semyon,

This looks good to me.
However, I don’t have reviewer status.

-hendrik

> On May 23, 2016, at 19:31, Semyon Sadetsky <semyon.sadetsky at oracle.com> wrote:
> 
> Hello,
> 
> Please review fix for JDK9:
> 
> bug: https://bugs.openjdk.java.net/browse/JDK-8157163
> webrev: http://cr.openjdk.java.net/~ssadetsky/8157163/webrev.00/
> 
> The bug is about two issues:
> 1. The window icon is not inherited in case of the AWT file dialog has an owner window. Setting the icon was not implemented for the non-null owner.
> 
> 2. Requesting screen location of the open file dialog window causes exception. The root cause is the basic implementation of the getLocationOnScreen() method uses native peer window which is not set in case of the file dialog. So the specific implementation is added in the file dialog peer.
> 
> --Semyon
> 
> 
> 



More information about the awt-dev mailing list