On 23.05.16 20:31, Semyon Sadetsky wrote:
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.
this looks fine.
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.
Should we check that hwnd is ::isWindow? -- Best regards, Sergey.