Skip to main content

Customize Print Dialogs ?

1 reply [Last post]
nightrider
Offline
Joined: 2003-06-11

Hello,

since JDK 1.4 there are Swing based print and page setup dialogs:
PrinterJob.pageDialog(PrintRequestAttributeSet)
and
PrinterJob.printDialog(PrintRequestAttributeSet)

Is there any possibility to either
(1) add new components to these dialogs ?
or
(2) integrate them into another dialog ?

For example, you can do similar things with a JColorChooser.

My application has a couple of printing parameters, and the user would have to deal with three separate dialogs
(application print settings + page setup + print dialog).

I would like to combine all the stuff into one tabbed dialog.

Regards,
Peter

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
joecole
Offline
Joined: 2003-06-10

From my memory, these are native dialogs from the system.

You could check out rt.jar in package sun.print if i remember correctly?

joe