Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
0.92
-
None
-
None
-
Operating System: All
Platform: All
-
39983
Description
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!