Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try {
- lbl_erreur.setText("");
- String username = txt_email.getText();
- String password = txt_mdp.getText();
- bdd.ServiceUtilisateur admin = new bdd.ServiceUtilisateur();
- try {
- try {
- if(admin.utilisateurExiste(password, username)){
- System.out.println("vous etes bien connecté");
- Menu fenetre = new Menu();
- fenetre.setVisible(true);
- this.dispose();
- }else{
- lbl_erreur.setText("Mot de passe ou login incorrect");
- }
- } catch (NoSuchAlgorithmException ex) {
- Logger.getLogger(appliIdologis.class.getName()).log(Level.SEVERE, null, ex);
- }
- } catch (SQLException ex) {
- Logger.getLogger(appliIdologis.class.getName()).log(Level.SEVERE, null, ex);
- }
- } catch (SQLException ex) {
- Logger.getLogger(appliIdologis.class.getName()).log(Level.SEVERE, null, ex);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement