]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Disabled fop startup from within PreviewDialog
authorPeter Bernard West <pbwest@apache.org>
Thu, 15 Apr 2004 11:31:42 +0000 (11:31 +0000)
committerPeter Bernard West <pbwest@apache.org>
Thu, 15 Apr 2004 11:31:42 +0000 (11:31 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197507 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/render/awt/viewer/PreviewDialog.java

index 2c4e70f245e9e66ffc3a8a72d0fc62bb74eedf23..479b8de044f66c1b4008d377784d7f47599f5d89 100644 (file)
@@ -379,8 +379,7 @@ public class PreviewDialog extends JFrame {
     private class Reloader extends Thread {
         public void run() {
             if (fop == null) {
-                fop = new Fop();
-                fop.setRenderer(renderer);
+                throw new RuntimeException("No Fop process to reload");
             } else {
                 fop.reset();
             }