fin fonction
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
package presentation;
|
||||
|
||||
import acces_aux_donnes.praticienSQL;
|
||||
import java.util.ArrayList;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -159,9 +160,10 @@ public class jffConnexion extends javax.swing.JFrame {
|
||||
String identifiant = jTFIdentifiant.getText();
|
||||
String mdp = String.valueOf(jPFmdp.getPassword());
|
||||
praticienSQL testPraticien = new praticienSQL();
|
||||
String [] lePraticien = testPraticien.rechercherPraticien(identifiant,mdp);
|
||||
if (lePraticien[0] != null){
|
||||
ArrayList<String>lePraticien = testPraticien.rechercherPraticien(identifiant,mdp);
|
||||
if (lePraticien.get(0) != null){
|
||||
System.out.print("TEST REUSSIE");
|
||||
new jffFamilleMedoc().setVisible(true);
|
||||
}else {
|
||||
System.out.print("TEST EMILE RACISTE");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user