# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: /space/work/all/openide/actions/src/org/openide/actions # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. Index: PageSetupAction.java *** /space/work/all/openide/actions/src/org/openide/actions/PageSetupAction.java Base (1.3) --- /space/work/all/openide/actions/src/org/openide/actions/PageSetupAction.java Locally Modified (Based On 1.3) *************** *** 18,30 **** */ package org.openide.actions; - import org.openide.text.PrintSettings; import org.openide.util.HelpCtx; import org.openide.util.NbBundle; import org.openide.util.actions.CallableSystemAction; import java.awt.print.PrinterJob; --- 18,27 ---- */ package org.openide.actions; import org.openide.util.HelpCtx; import org.openide.util.NbBundle; import org.openide.util.actions.CallableSystemAction; + import org.openide.text.PrintPreferences; import java.awt.print.PrinterJob; *************** *** 34,42 **** } public synchronized void performAction() { - PrintSettings ps = (PrintSettings) PrintSettings.findObject(PrintSettings.class, true); PrinterJob pj = PrinterJob.getPrinterJob(); ! ps.setPageFormat(pj.pageDialog(PrintSettings.getPageFormat(pj))); } protected boolean asynchronous() { --- 34,41 ---- } public synchronized void performAction() { PrinterJob pj = PrinterJob.getPrinterJob(); ! PrintPreferences.setPageFormat(pj.pageDialog(PrintPreferences.getPageFormat(pj))); } protected boolean asynchronous() {