hello #10

Merged
emile.lalorcey merged 1 commits from jave.Emile into main 2025-03-12 11:29:49 +01:00
3 changed files with 27 additions and 0 deletions

View File

@ -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 {
}

View File

@ -156,6 +156,9 @@
</Property>
<Property name="text" type="java.lang.String" value="Valider"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jBValiderActionPerformed"/>
</Events>
</Component>
<Component class="javax.swing.JLabel" name="jLLogo">
<Properties>

View File

@ -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
*/