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

Updated visualusation default onCloseOperation so that it does not close the whole application

parent 85717778
No related branches found
No related tags found
No related merge requests found
......@@ -100,7 +100,7 @@ public class MainView extends View {
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