[OpenJDK 2D-Dev]  RFR JDK-8067059, , PrinterJob.pageDialog() with DialogSelectionType.NATIVE returns a PageFormat when cancelled.
prasanta.sadhukhan at oracle.com
Tue Nov 3 08:59:19 UTC 2015
Please review a fix for jdk9.
The issue was if we "cancel" Printer Job setup dialog which has been
created with DialogSelectionType.NATIVE
it should return "null" as per spec
/[If the user cancels the dialog, the attributes will not reflect any
changes made by the user, and the return value will be null.]
/We were returning PageFormat instead. Fixed to return null in such case.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the 2d-dev