Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6568874
Votes 0
Synopsis RFE: Provide option for displaying native print and page dialogs when using an AttributeSet
Category java:classes_2d
Reported Against
Release Fixed 7(b20), 6-open(b02) (Bug ID:2152970)
State 10-Fix Delivered, request for enhancement
Priority: 3-Medium
Related Bugs 6569146
Submit Date 12-JUN-2007
Description
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
Posted Date : 2007-06-12 20:53:48.0
Work Around
N/A
Evaluation
Add class javax.print.attribute.standard.DialogTypeSelection
with values NATIVE and COMMON
Posted Date : 2007-06-12 20:53:48.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang