close server when clicking on back button
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good Details
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/pr-master Build started... Details

pull/124/head
js 5 years ago
parent 1335bbf8ad
commit 340e600562

@ -134,6 +134,8 @@ public class DownloadSelectionGen extends javax.swing.JPanel {
/** Actions to initiate when button "Back" is initiate */ /** Actions to initiate when button "Back" is initiate */
private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) { private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {
smudp.setStop();
smtcp.setStop();
ArgumentsGen a = new ArgumentsGen(); ArgumentsGen a = new ArgumentsGen();
JFrame topFrame = (JFrame) SwingUtilities.getWindowAncestor(this); JFrame topFrame = (JFrame) SwingUtilities.getWindowAncestor(this);
topFrame.add(a); topFrame.add(a);

Loading…
Cancel
Save