now display default values for each field

This commit is contained in:
js 2020-04-10 16:51:18 +02:00
parent 27c4fcc563
commit e1fdddac54
2 changed files with 6 additions and 5 deletions

View File

@ -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:");

View File

@ -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);