[stringtemplate-interest] [ST4 Beta-2] Closing the STViz Inspect Window exits the application
Udo Borkowski
ub at abego-software.de
Wed Jan 26 08:18:54 PST 2011
I invoke the DebugST.inspect method from a menu item of my (Swing) application when I need to debug templates. When I am done debugging I would like to close the STViz window and continue working with the application. However closing the STViz Inspect window exits the application.
In STViz the following statement
m.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
should be replace by
m.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
Udo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/stringtemplate-interest/attachments/20110126/79db46ed/attachment.html
More information about the stringtemplate-interest
mailing list