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.
Fixed in 0.20.4, now AWTStarter class runs PreviewDialog and exits JVM.
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed