Handler for File → Page Setup.
()
| 2463 | * Handler for File → Page Setup. |
| 2464 | */ |
| 2465 | private void handlePageSetup() { |
| 2466 | PrinterJob printerJob = PrinterJob.getPrinterJob(); |
| 2467 | if (pageFormat == null) { |
| 2468 | pageFormat = printerJob.defaultPage(); |
| 2469 | } |
| 2470 | pageFormat = printerJob.pageDialog(pageFormat); |
| 2471 | } |
| 2472 | |
| 2473 | |
| 2474 | /** |