hello #11

Merged
emile.lalorcey merged 1 commits from jave.Emile into main 2025-03-12 11:39:31 +01:00

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 private void jBValiderActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBValiderActionPerformed
String identifiant = "DIDIER"; 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 }//GEN-LAST:event_jBValiderActionPerformed
/** /**