DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10978>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10978 AWT, System.exit(0) in PreviewDialog.java Summary: AWT, System.exit(0) in PreviewDialog.java Product: Fop Version: 0.20.3 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: awt renderer AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I was not successful in writing code to show fo file in AWT. So I tried simple way: Fop myFop = new Fop(); String[] myargs = {"-c",fopconfpath + "userconfig.xml","-d", "-l", "en", outFile ,"-awt"}; myFop.main(myargs); It works, but after showing preview dialog , program runs through System.exit (0) in PreviewDialog.java , which makes my client stop. I can modify that class and update fop.jar , but it's not very nice solution. Is this instruction intentional ? Can I avoid the stopping somehow ? Can be found some working FOP AWT embedding example somewhere ? Thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]