Compare commits

..

No commits in common. "e84ad59e10293671d2427301532af66f5171dadf" and "6ac02d3adf2135209217a400c383ebfb2f9f1f8d" have entirely different histories.

3 changed files with 4 additions and 17 deletions

View File

@ -9,13 +9,12 @@ package presentation;
* @author emile.lalorcey
*/
public class jffConnexion extends javax.swing.JFrame {
int profession;
/**
* Creates new form jffConnexion
*/
public jffConnexion(int indice) {
public jffConnexion() {
initComponents();
this.profession = indice;
}
/**
@ -192,7 +191,7 @@ public class jffConnexion extends javax.swing.JFrame {
/* Create and display the form */
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new jffConnexion(1).setVisible(true);
new jffConnexion().setVisible(true);
}
});
}

View File

@ -95,9 +95,6 @@
<Properties>
<Property name="text" type="java.lang.String" value="visiteur medical"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jBvisiteurMedicalActionPerformed"/>
</Events>
</Component>
<Component class="javax.swing.JButton" name="jBquitter">
<Properties>

View File

@ -45,11 +45,6 @@ public class jffProfession extends javax.swing.JFrame {
});
jBvisiteurMedical.setText("visiteur medical");
jBvisiteurMedical.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jBvisiteurMedicalActionPerformed(evt);
}
});
jBquitter.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/quitter.png"))); // NOI18N
jBquitter.setText("Quitter");
@ -108,17 +103,13 @@ public class jffProfession extends javax.swing.JFrame {
}// </editor-fold>//GEN-END:initComponents
private void jBpraticienActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBpraticienActionPerformed
new jffConnexion(0).setVisible(true);
// TODO add your handling code here:
}//GEN-LAST:event_jBpraticienActionPerformed
private void jBquitterActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBquitterActionPerformed
System.exit(0);
}//GEN-LAST:event_jBquitterActionPerformed
private void jBvisiteurMedicalActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBvisiteurMedicalActionPerformed
new jffConnexion(1).setVisible(true);
}//GEN-LAST:event_jBvisiteurMedicalActionPerformed
/**
* @param args the command line arguments
*/