pbwest      2004/04/15 04:31:42

  Modified:    src/java/org/apache/fop/render/awt/viewer Tag:
                        FOP_0-20-0_Alt-Design PreviewDialog.java
  Log:
  Disabled fop startup from within PreviewDialog
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.2.2.4   +2 -3      
xml-fop/src/java/org/apache/fop/render/awt/viewer/PreviewDialog.java
  
  Index: PreviewDialog.java
  ===================================================================
  RCS file: 
/home/cvs/xml-fop/src/java/org/apache/fop/render/awt/viewer/PreviewDialog.java,v
  retrieving revision 1.2.2.3
  retrieving revision 1.2.2.4
  diff -u -r1.2.2.3 -r1.2.2.4
  --- PreviewDialog.java        15 Apr 2004 08:04:24 -0000      1.2.2.3
  +++ PreviewDialog.java        15 Apr 2004 11:31:42 -0000      1.2.2.4
  @@ -379,8 +379,7 @@
       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();
               }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to