From 7789e53f8250c5b8ff534abc8ee4d05b4eaa59c9 Mon Sep 17 00:00:00 2001 From: laure Date: Mon, 27 May 2024 18:21:07 +0200 Subject: [PATCH] play a bit with button stop --- src/windowInterface/MyInterface.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/windowInterface/MyInterface.java b/src/windowInterface/MyInterface.java index c52fe79..d0509ac 100644 --- a/src/windowInterface/MyInterface.java +++ b/src/windowInterface/MyInterface.java @@ -240,7 +240,7 @@ public class MyInterface extends JFrame { mySimu.stopSimu(); // Stop the simulation mySimu.reset(); // Reset the simulation state - panelDraw.repaint(); // Refresh the display + //panelDraw.repaint(); // Refresh the display eraseLabels(); // Reset the labels to their initial state //mySimu.stopSimu();