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