diff --git a/src/gui/ArgumentsGen.java b/src/gui/ArgumentsGen.java index 2f3d7f4..13ae039 100644 --- a/src/gui/ArgumentsGen.java +++ b/src/gui/ArgumentsGen.java @@ -52,10 +52,10 @@ public class ArgumentsGen extends javax.swing.JPanel { jLabel5 = new javax.swing.JLabel(); jLabel6 = new javax.swing.JLabel(); jComboBox1 = new javax.swing.JComboBox<>(); - jTextField1 = new javax.swing.JTextField(); - jTextField2 = new javax.swing.JTextField(); - jTextField3 = new javax.swing.JTextField(); - jTextField4 = new javax.swing.JTextField(); + jTextField1 = new javax.swing.JTextField("7071"); + jTextField2 = new javax.swing.JTextField("localhost"); + jTextField3 = new javax.swing.JTextField("localhost"); + jTextField4 = new javax.swing.JTextField("6969"); jButton1 = new javax.swing.JButton(); jLabel1.setText("Enter connection informations:"); diff --git a/src/gui/ClientInterfaceGUI.java b/src/gui/ClientInterfaceGUI.java index 892b53f..1523e38 100644 --- a/src/gui/ClientInterfaceGUI.java +++ b/src/gui/ClientInterfaceGUI.java @@ -60,7 +60,8 @@ public class ClientInterfaceGUI extends ClientInterface { int optionSearch = 0; String searchInput = ""; String[] list = clientManagement.listDirectory(); - MainWindow win = new MainWindow(); + JFrame win = new JFrame(); + win.setVisible(true); win.add(new DownloadSelectionGen(list, clientManagement, loggerC)); } catch (EmptyDirectory e) { writeLog("Server has no file in directory", LogLevel.Error);