diff --git a/GSBapplication/src/TEST/test.java b/GSBapplication/src/TEST/test.java new file mode 100644 index 0000000..a4ce3fd --- /dev/null +++ b/GSBapplication/src/TEST/test.java @@ -0,0 +1,13 @@ +/* + * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license + * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template + */ +package TEST; + +/** + * + * @author emile.lalorcey + */ +public class test { + +} diff --git a/GSBapplication/src/presentation/jffConnexion.form b/GSBapplication/src/presentation/jffConnexion.form index ba2353a..a5da1a0 100644 --- a/GSBapplication/src/presentation/jffConnexion.form +++ b/GSBapplication/src/presentation/jffConnexion.form @@ -156,6 +156,9 @@ + + + diff --git a/GSBapplication/src/presentation/jffConnexion.java b/GSBapplication/src/presentation/jffConnexion.java index ece65e6..674a3ed 100644 --- a/GSBapplication/src/presentation/jffConnexion.java +++ b/GSBapplication/src/presentation/jffConnexion.java @@ -61,6 +61,11 @@ public class jffConnexion extends javax.swing.JFrame { jBValider.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/valider.png"))); // NOI18N jBValider.setText("Valider"); + jBValider.addActionListener(new java.awt.event.ActionListener() { + public void actionPerformed(java.awt.event.ActionEvent evt) { + jBValiderActionPerformed(evt); + } + }); jLLogo.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/logodetoure.gif"))); // NOI18N @@ -147,6 +152,12 @@ public class jffConnexion extends javax.swing.JFrame { // TODO add your handling code here: }//GEN-LAST:event_jPFmdpActionPerformed + private void jBValiderActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBValiderActionPerformed + String identifiant = "DIDIER"; + + if (jTFIdentifiant.getText() == identifiant){} + }//GEN-LAST:event_jBValiderActionPerformed + /** * @param args the command line arguments */