Connexion SQL + début connexion praticien
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
*/
|
||||
package presentation;
|
||||
|
||||
import acces_aux_donnes.praticienSQL;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author emile.lalorcey
|
||||
@@ -154,8 +156,9 @@ public class jffConnexion extends javax.swing.JFrame {
|
||||
}//GEN-LAST:event_jPFmdpActionPerformed
|
||||
|
||||
private void jBValiderActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBValiderActionPerformed
|
||||
String identifiant = "DIDIER";
|
||||
String motPasse = "123";
|
||||
String identifiant = jTFIdentifiant.getText();
|
||||
String motPasse = jPFmdp.getText();
|
||||
praticienSQL testPraticien = new praticienSQL();
|
||||
|
||||
if (jTFIdentifiant.getText().equals(identifiant) && jPFmdp.getText().equals(motPasse)){
|
||||
System.out.println("Gagner");
|
||||
|
Reference in New Issue
Block a user