Presents a dialog to the user for changing the properties of the print job. This method will display a native dialog if a native print service is selected, and user choice of printers will be restricted to these native print services. To present the cross platform print dialog for all services, including native ones instead use
printDialog(PrintRequestAttributeSet)
.
PrinterJob implementations which can use PrintService's will update the PrintService for this PrinterJob to reflect the new service selected by the user.
@return true
if the user does not cancel the dialog;false
otherwise.
@exception HeadlessException if GraphicsEnvironment.isHeadless()returns true.
@see java.awt.GraphicsEnvironment#isHeadless