now display default values for each field

pull/108/head
js 5 years ago
parent 27c4fcc563
commit e1fdddac54

@ -52,10 +52,10 @@ public class ArgumentsGen extends javax.swing.JPanel {
jLabel5 = new javax.swing.JLabel(); jLabel5 = new javax.swing.JLabel();
jLabel6 = new javax.swing.JLabel(); jLabel6 = new javax.swing.JLabel();
jComboBox1 = new javax.swing.JComboBox<>(); jComboBox1 = new javax.swing.JComboBox<>();
jTextField1 = new javax.swing.JTextField(); jTextField1 = new javax.swing.JTextField("7071");
jTextField2 = new javax.swing.JTextField(); jTextField2 = new javax.swing.JTextField("localhost");
jTextField3 = new javax.swing.JTextField(); jTextField3 = new javax.swing.JTextField("localhost");
jTextField4 = new javax.swing.JTextField(); jTextField4 = new javax.swing.JTextField("6969");
jButton1 = new javax.swing.JButton(); jButton1 = new javax.swing.JButton();
jLabel1.setText("Enter connection informations:"); jLabel1.setText("Enter connection informations:");

@ -60,7 +60,8 @@ public class ClientInterfaceGUI extends ClientInterface {
int optionSearch = 0; int optionSearch = 0;
String searchInput = ""; String searchInput = "";
String[] list = clientManagement.listDirectory(); String[] list = clientManagement.listDirectory();
MainWindow win = new MainWindow(); JFrame win = new JFrame();
win.setVisible(true);
win.add(new DownloadSelectionGen(list, clientManagement, loggerC)); win.add(new DownloadSelectionGen(list, clientManagement, loggerC));
} catch (EmptyDirectory e) { } catch (EmptyDirectory e) {
writeLog("Server has no file in directory", LogLevel.Error); writeLog("Server has no file in directory", LogLevel.Error);

Loading…
Cancel
Save