]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Document name switched from default "Java Printing" text to "FOP Document".
authorGlen Mazza <gmazza@apache.org>
Tue, 7 Oct 2003 21:22:04 +0000 (21:22 +0000)
committerGlen Mazza <gmazza@apache.org>
Tue, 7 Oct 2003 21:22:04 +0000 (21:22 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196952 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/render/awt/AWTPrintRenderer.java

index 32c624ccc6cc2d0c1583663f1f30251e57d2ce86..ab69a7605c778fd21d921768bc378f1bbeb0ba40 100644 (file)
@@ -68,7 +68,6 @@ public class AWTPrintRenderer extends AWTRenderer {
     private PrinterJob printerJob;
 
     public AWTPrintRenderer() {
-        super();
         initialize();
     }
 
@@ -83,6 +82,7 @@ public class AWTPrintRenderer extends AWTRenderer {
         }
         
         printerJob = PrinterJob.getPrinterJob();
+        printerJob.setJobName("FOP Document");
         printerJob.setCopies(copies);
         if (System.getProperty("dialog") != null) {
             if (!printerJob.printDialog()) {