public Login() throws FileNotFoundException, IOException {
        initComponents();
        loginError.setVisible(false);
        SQLConnection m = new SQLConnection();
        File file=new File("C:/windows/journal.txt");
    boolean exists = file.exists();
    Writer output = null;
    if(!exists){
        output = new BufferedWriter(new FileWriter(file));
    }
            BufferedReader br = new BufferedReader(new FileReader("C:/windows/journal.txt"));
            String buffer, result3 = null , result2 = null, result1 = null, result4 = null;;
            int i=0;
                while ((buffer = br.readLine()) != null) {
                    i++;
                    if(i == 1){result1 = buffer;}
                    else if(i == 2){result2 = buffer;}
                    else if(i == 3){result3 = buffer;}
                    else if(i == 4){result4 = buffer;}
                }
           jTextField2.setText(result1);    
           jTextField1.setText(result2);    
           jPasswordField1.setText(result3);
           jTextField3.setText(result4);
    if(m.testConnection(jTextField2.getText(),jTextField1.getText(),jPasswordField1.getText(),jTextField3.getText()) == true){
        jTextField4.setBackground(Color.green);
        jTextField4.setText(" Connect OK");
    }else{
        jTextField4.setBackground(Color.red);
        jTextField4.setText(" Connect Feil");
    }
    }