[OpenJDK 2D-Dev] [9] RFR JDK-8154218: Non-usage of owner Frame when Frame object is passed to getPrintJob()
Prasanta Sadhukhan
prasanta.sadhukhan at oracle.com
Wed Aug 24 10:39:57 UTC 2016
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