This commit is contained in:
emile.malcuit 2025-03-12 11:38:47 +01:00
parent 892d023222
commit ba7e7c4b9b

View File

@ -154,8 +154,11 @@ public class jffConnexion extends javax.swing.JFrame {
private void jBValiderActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBValiderActionPerformed
String identifiant = "DIDIER";
String motPasse = "123";
if (jTFIdentifiant.getText() == identifiant){}
if (jTFIdentifiant.getText().equals(identifiant) && jPFmdp.getText().equals(motPasse)){
System.out.println("Gagner");
}
}//GEN-LAST:event_jBValiderActionPerformed
/**