@Override
    public void actionPerformed(ActionEvent e) {
        try {
          if (e.getSource() == this.view.getJbValidate()) {
             if ( !view.getJtName().getText().equals("") && !view.getJtPassword().getText().equals("")) {
                 DBInterface test = new DBInterface();
                    test.InitUser(this.view.getJtName().getText(), this.view.getJtPassword().getText());
                    InitialisationFrame initialisationFrame = new InitialisationFrame();
                    InitialisationFrameController initialisationFrameController = new InitialisationFrameController(initialisationFrame);
                    initialisationFrame.setActionListener(initialisationFrameController);
                    view.dispose();
                }
            } else if (e.getSource() == this.view.getJbQuit()) {
                System.exit(0);
            } else {
                throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
            }
        } catch (Exception ex) {
            JOptionPane.showMessageDialog(null, "Error: "+ ex.getMessage(), "Autentification error" , JOptionPane.ERROR_MESSAGE);
            System.err.println(ex.getMessage());
        }
    }