Is there a way to customize the java print dialog

My program currently brings up the standard java print dialog ( the one with the general, page setup and appearance tabs).  I would like to customize this print dialog to add another check box that essentially says "Scale To Fit".  Is this possible?  What class would I extend?  Thanks for your help!
PrinterJob printerJob = null;
private PrintRequestAttributeSet attributeSet = new HashPrintRequestAttributeSet();
 
//This currently brings up the standardjava print dialog
if (printerJob.printDialog(attributeSet) )
{
            try 
            {
                printerJob.print(attributeSet);
            } 
            catch (Exception ex) 
            {
                ex.printStackTrace();
            }
}

Open in new window

rmi-expertAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
objectsConnect With a Mentor Commented:
>  Is this possible?

not that I'm aware of

0
All Courses

From novice to tech pro — start learning today.