You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2002/07/19 11:56:27 UTC
DO NOT REPLY [Bug 10978] New: -
AWT, System.exit(0) in PreviewDialog.java
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: fop-dev@xml.apache.org
ReportedBy: jnejedly@orcz.cz
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: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org