diff --git a/GSBapplication/src/Metier/famille.java b/GSBapplication/src/Metier/famille.java deleted file mode 100644 index bd889f4..0000000 --- a/GSBapplication/src/Metier/famille.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license - * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template - */ -package Metier; - -/** - * - * @author medhi.rodrigues - */ -public class famille { - /** - * l'identifiant permettant de connaitre la famille du médicament - */ - private String id; - - /** LE CONSTRUCTEUR DEFAULT - * - * @param id - */ - public famille(String id) { - this.id = id; - } - - // LES SETTEUR - /** - * @return the id - */ - public String getId() { - return id; - } - - @Override - public String toString() { - return "famille{" + "id=" + id + '}'; - } - -} diff --git a/GSBapplication/src/presentation/jffConnexion.java b/GSBapplication/src/presentation/jffConnexion.java index aa1c02a..910ccc4 100644 --- a/GSBapplication/src/presentation/jffConnexion.java +++ b/GSBapplication/src/presentation/jffConnexion.java @@ -5,6 +5,7 @@ package presentation; import acces_aux_donnes.praticienSQL; +import javax.swing.JOptionPane; /** * @@ -162,8 +163,9 @@ public class jffConnexion extends javax.swing.JFrame { String [] lePraticien = testPraticien.rechercherPraticien(identifiant,mdp); if (lePraticien[0] != null){ System.out.print("TEST REUSSIE"); + JOptionPane.showMessageDialog(null,"Bienvenue" + lePraticien[1]); }else { - System.out.print("TEST EMILE RACISTE"); + JOptionPane.showMessageDialog(null, "Erreur d'authentification, veuillez réesayer"); } }//GEN-LAST:event_jBValiderActionPerformed diff --git a/GSBapplication/src/presentation/jffFamilleMedoc.form b/GSBapplication/src/presentation/jffFamilleMedoc.form index b3d2108..4348e38 100644 --- a/GSBapplication/src/presentation/jffFamilleMedoc.form +++ b/GSBapplication/src/presentation/jffFamilleMedoc.form @@ -1,10 +1,48 @@