From 340e600562af00e07267b9e0d1c3607b95355fb2 Mon Sep 17 00:00:00 2001 From: js Date: Mon, 13 Apr 2020 14:19:48 +0200 Subject: [PATCH] close server when clicking on back button --- 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);