From 4e7a91e65d5865860f0b9adf66f062c33bce36ba Mon Sep 17 00:00:00 2001 From: Louis Royer Date: Mon, 13 Apr 2020 14:26:17 +0200 Subject: [PATCH] close server when clicking on back button (#124) close server when clicking on back button Co-authored-by: js --- src/gui/DownloadSelectionGen.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/DownloadSelectionGen.java b/src/gui/DownloadSelectionGen.java index a48b8b1..22950f7 100644 --- a/src/gui/DownloadSelectionGen.java +++ b/src/gui/DownloadSelectionGen.java @@ -134,6 +134,8 @@ public class DownloadSelectionGen extends javax.swing.JPanel { /** Actions to initiate when button "Back" is initiate */ private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) { + smudp.setStop(); + smtcp.setStop(); ArgumentsGen a = new ArgumentsGen(); JFrame topFrame = (JFrame) SwingUtilities.getWindowAncestor(this); topFrame.add(a);