I'm working in an application with swing with reports done in iReport doing
queries to a data base.
I have a class that does the visualization of the report and do the preliminary
view to print
When I close the windows of preview of the document, the application closes completely
How can I resolve that? I want to close the windows of pre-visualization and not the application.