From 35c9911dab5a889d47610eab8f9e2617eb69fda4 Mon Sep 17 00:00:00 2001 From: carlosuc3m <100329787@alumnos.uc3m.es> Date: Wed, 4 Dec 2024 11:13:33 +0100 Subject: [PATCH] correct smal thing --- src/main/java/ai/nets/samj/gui/MainGUI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ai/nets/samj/gui/MainGUI.java b/src/main/java/ai/nets/samj/gui/MainGUI.java index 79b38aa..92c8056 100644 --- a/src/main/java/ai/nets/samj/gui/MainGUI.java +++ b/src/main/java/ai/nets/samj/gui/MainGUI.java @@ -112,7 +112,7 @@ public MainGUI(List modelList, ConsumerInterface consumer) { drawerPanel = ModelDrawerPanel.create(DRAWER_HORIZONTAL_SIZE, this.modelDrawerListener); - setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); + setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE); cmbModels.getButton().addActionListener(e -> toggleDrawer()); go.addActionListener(e -> loadModel());