If it makes you feel better it has already been done.
http://marc.theaimsgroup.com/?l=fop-cvs&m=101420095016596&w=2

Someone might even commit this to the maintanence branch.

On 2002.02.20 14:22 Jim Urban wrote:
> I thought about that, but then we would have a custom version of FOP.
> This
> would mean that every time we upgrade to a new version of FOP someone
> would
> have to know to go into the source and make this change and rebuild FOP.
> I
> would rather see a more permanent solution implemented such as adding a
> function to PreviewDialog "void setExitOnClose(boolean shouldExit)" which
> would set a flag which would be checked to see if System.exit should be
> called.  I would do this, but I am not an authorized FOP developer and do
> not have access to CVS either.  If someone would offer to check out
> PreviewDialog.java from CVS and email it to me I will gladly make the
> change
> and email back to them to review and check back in to CVS.
> 
> Jim
> 
> > -----Original Message-----
> > From: Keiron Liddle [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, February 20, 2002 4:32 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: FOP AWT Window Shuts Down Application
> >
> >
> >
> > You could comment out the System.exit call in PreviewDialog.java.
> >
> > On 2002.02.19 18:52 Jim Urban wrote:
> > > I am using the FOP AWT viewer (PreviewDialog) to display and print
> > > reports
> > > within my application.  The problem is, whenever I close the FOP
> viewer,
> > > my
> > > application shuts down.  How can I keep this from happening?

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

Reply via email to