-
Enhancement
-
Resolution: Fixed
-
P3
-
7
-
None
-
b20
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2152970 | OpenJDK6 | Philip Race | P2 | Resolved | Fixed | b02 |
PrinterJob.printDialog() and PrinterJob.pageDialog() always display
the windows native print dialog
Conversely
PrinterJob.printDialog(PrintRequestAttributeSet) and
PrinterJob.pageDialog(PrintRequestAttributeSet)
always display the cross-platform dialog.
Many options such as Sides, Collation etc can be changed when using
the native dialog, but there is no way for an interested application
to query these, nor to specify them as defaults if using the native
dialog.
Internally we already have support for using attributes with
the native dialog. In fact that's how all these options are stored.
We also have an internal enum attribute class which we use to
decide which dialog to display.
We should promote it to API
the windows native print dialog
Conversely
PrinterJob.printDialog(PrintRequestAttributeSet) and
PrinterJob.pageDialog(PrintRequestAttributeSet)
always display the cross-platform dialog.
Many options such as Sides, Collation etc can be changed when using
the native dialog, but there is no way for an interested application
to query these, nor to specify them as defaults if using the native
dialog.
Internally we already have support for using attributes with
the native dialog. In fact that's how all these options are stored.
We also have an internal enum attribute class which we use to
decide which dialog to display.
We should promote it to API
- backported by
-
JDK-2152970 RFE: Provide option for displaying native print and page dialogs when using an AttributeSet
-
- Resolved
-