Skip to content
Snippets Groups Projects
Verified Commit 2edd70c8 authored by tristan.muller's avatar tristan.muller Committed by philippe.verley_ird.fr
Browse files

Change the default closing function of the visualization window

parent 86134740
No related branches found
No related tags found
No related merge requests found
......@@ -111,7 +111,7 @@ public class MainView extends FrameView {
setExtendedState(Frame.MAXIMIZED_BOTH);
setLocationRelativeTo(getParent());
setLayout(new BorderLayout());
setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
setIconImage(loadIcon("/icons/visualization.png").getImage());
addLocaleCallback((locale) -> {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment