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? > > > > Thanks, > > > > Jim Urban > > Product Manager > > Netsteps Inc. > > Suite 505E > > 1 Pierce Pl. > > Itasca, IL 60143 > > Voice: (630) 250-3045 x2164 > > Fax: (630) 250-3046 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]