Connexion SQL + début connexion praticien

This commit is contained in:
medhi.rodrigues
2025-03-12 14:45:38 +01:00
parent abc556e3d2
commit d8f091dcc3
5 changed files with 48 additions and 9 deletions

View File

@@ -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");