From: Peter Bernard West Date: Thu, 15 Apr 2004 11:31:42 +0000 (+0000) Subject: Disabled fop startup from within PreviewDialog X-Git-Tag: Defoe_export~234 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b8ed2f16f616395249afd31529a6a97faa07ae36;p=xmlgraphics-fop.git Disabled fop startup from within PreviewDialog git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197507 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/render/awt/viewer/PreviewDialog.java b/src/java/org/apache/fop/render/awt/viewer/PreviewDialog.java index 2c4e70f24..479b8de04 100644 --- a/src/java/org/apache/fop/render/awt/viewer/PreviewDialog.java +++ b/src/java/org/apache/fop/render/awt/viewer/PreviewDialog.java @@ -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(); }