
public final class PrintUtility extends Object
| Modifier and Type | Class and Description |
|---|---|
private static class |
PrintUtility.PrintableComponent |
| Modifier | Constructor and Description |
|---|---|
private |
PrintUtility() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
print(Component c)
Opens the print dialog to print with this PrintUtility.
|
static void |
quickprint(Component c)
Quickly prints the component.
|
public static boolean print(Component c) throws PrinterException
c - The component to printPrinterException - an error in the print system caused the job to be aborted.public static void quickprint(Component c) throws PrinterException
c - The component to printPrinterException - an error in the print system caused the job to be aborted.