DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39983>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39983

           Summary: AWTRenderer should not call System.exit().
           Product: Fop
           Version: 0.92
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: awt renderer
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: [EMAIL PROTECTED]


I'm attempting to reuse the AWTRenderer from within a Swing application.  It
works great, until the preview window is closed, at which point it forces my
application closed.

AWTRenderer.createPreviewDialog() adds a WindowListener to the PreviewDialog
(JFrame) to call System.exit(0) on windowsClosed.  As the PreviewDialog class
already calls setDefaultCloseOperation(DISPOSE_ON_CLOSE), I don't see why this
System.exit(0) call is needed.

Thanks!

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to