[OpenJDK 2D-Dev] [9] RFR JDK-8154218: Non-usage of owner Frame when Frame object is passed to getPrintJob()
Philip Race
philip.race at oracle.com
Wed Aug 24 16:50:46 UTC 2016
+1
Some day we should still consider an API that lets the application pass
in an owner.
-phil.
On 8/24/16, 3:39 AM, Prasanta Sadhukhan wrote:
> Hi All,
>
> Please review a fix for an issue where it is seen that the Frame
> object passed to Toolkit.getPrintJob() is not used when cross platform
> print dialog is created,
> so the print dialog does not have an owner Frame and therefore if the
> parent frame is disposed, the print dialog is not affected.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8154218
> webrev: http://cr.openjdk.java.net/~psadhukhan/8154218/webrev.00/
>
> Proposed fix is to get the DialogOwner attribute which has been set
> in PrintJob2D.printDialog() and use the returned frame object as owner.
> As of now, null is explicitly passed as owner argument.
>
> Regards
> Prasanta
More information about the 2d-dev
mailing list