1 Commits

Author SHA1 Message Date
05f1473fb9 CLASSE 2025-03-11 17:53:18 +01:00
14 changed files with 210 additions and 412 deletions

View File

@ -48,8 +48,7 @@ javac.source=21
javac.target=21 javac.target=21
javac.test.classpath=\ javac.test.classpath=\
${javac.classpath}:\ ${javac.classpath}:\
${build.classes.dir}:\ ${build.classes.dir}
${libs.junit_5.classpath}
javac.test.modulepath=\ javac.test.modulepath=\
${javac.modulepath} ${javac.modulepath}
javac.test.processorpath=\ javac.test.processorpath=\
@ -72,7 +71,7 @@ jlink.additionalmodules=
jlink.additionalparam= jlink.additionalparam=
jlink.launcher=true jlink.launcher=true
jlink.launcher.name=GSBapplication jlink.launcher.name=GSBapplication
main.class=presentation.jffProfession main.class=gsbapplication.GSBapplication
manifest.file=manifest.mf manifest.file=manifest.mf
meta.inf.dir=${src.dir}/META-INF meta.inf.dir=${src.dir}/META-INF
mkdist.disabled=false mkdist.disabled=false

View File

@ -0,0 +1,31 @@
/*
* 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 Metier;
/**
*
* @author medhi.rodrigues
*/
public class Observation {
/**
* observation = l'observation d'un m<>dicament
*/
private String observation;
//LES GUETTEUR
/**
* @return the observation
*/
public String getObservation() {
return observation;
}
}

View File

@ -0,0 +1,38 @@
/*
* 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 Metier;
/**
*
* @author medhi.rodrigues
*/
public class famille {
/**
* l'identifiant permettant de connaitre la famille du m<>dicament
*/
private String id;
/** LE CONSTRUCTEUR DEFAULT
*
* @param id
*/
public famille(String id) {
this.id = id;
}
// LES SETTEUR
/**
* @return the id
*/
public String getId() {
return id;
}
@Override
public String toString() {
return "famille{" + "id=" + id + '}';
}
}

View File

@ -1,23 +0,0 @@
/*
* 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 Metier;
/**
*
* @author lalor
*/
public class familleMedicament {
private String nomFamille;
public familleMedicament(String nom){
this.nomFamille = nom;
}
public String getNom(){
return this.getNom();
}
}

View File

@ -6,78 +6,70 @@ package Metier;
/** /**
* *
* @author lalor * @author medhi.rodrigues
*/ */
public class praticien { public class praticien {
private int idPraticien; /**
private String nomPraticien; * id = L'identifiant du praticien
* nom = le nom du praticien
* prenom = le prenom du praticien
* type_praticien = le type de praticien (ex : M<>decine de Ville)
*/
private int id;
private String nom;
private String prenom; private String prenom;
private String typePraticien; private String type_praticien;
/**
* Constructeur de la classe praticien /** LE CONSTRUCTEUR DEFAULT
* avec une initialisation des variables *
* @param idPraticien * @param id
* @param nomPraticien * @param nom
* @param prenom * @param prenom
* @param typePraticien * @param type_praticien
*/ */
public praticien(int idPraticien, String nomPraticien, String prenom, String typePraticien) { public praticien(int id, String nom, String prenom, String type_praticien) {
this.idPraticien = idPraticien; this.id = id;
this.nomPraticien = nomPraticien; this.nom = nom;
this.prenom = prenom; this.prenom = prenom;
this.typePraticien = typePraticien; this.type_praticien = type_praticien;
}
/**
* Getteur de l'id du pratitien
* @return idPraticien
*/
public int getIdPraticien() {
return this.idPraticien;
} }
//LES GETTEUR
/** /**
* Getteur du nom du pratitien * @return the id
* @return nomPraticien
*/ */
public String getNomPraticien() { public int getId() {
return this.nomPraticien; return id;
} }
/** /**
* Getteur du pr<70>nom du pratitien * @return the nom
* @return prenom */
public String getNom() {
return nom;
}
/**
* @return the prenom
*/ */
public String getPrenom() { public String getPrenom() {
return this.prenom; return prenom;
} }
/** /**
* Getteur du type de pratitien * @return the type_praticien
* @return typePraticien
*/ */
public String getTypePraticien() { public String getType_praticien() {
return this.typePraticien; return type_praticien;
} }
/**
* Fonction toString permettant
* de conna<6E>tre les valeures des attribut de l'objet
* @return valeurs des attributs
*/
@Override @Override
public String toString(){ public String toString() {
return this.getIdPraticien() + this.getNomPraticien() + this.getPrenom() + this.getTypePraticien(); return "Praticien{" + "id=" + id + ", nom=" + nom + ", prenom=" + prenom + ", type_praticien=" + type_praticien + '}';
} }
} }

View File

@ -0,0 +1,68 @@
/*
* 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 Metier;
/**
*
* @author medhi.rodrigues
*/
public class visiteur_medicaux {
/**
* id = l'identifiant du visiteur
* nom = le nom du visiteur
* prenom = le prenom du visiteur
* region = la region du visiteur
*/
private int id;
private String nom;
private String prenom;
private String region;
/** LE CONSTRUCTEUR DEFAULT
*
*
* @param id
* @param nom
* @param prenom
* @param region
*/
public visiteur_medicaux(int id, String nom, String prenom, String region) {
this.id = id;
this.nom = nom;
this.prenom = prenom;
this.region = region;
}
//LES GETTEUR
/**
* @return the id
*/
public int getId() {
return id;
}
/**
* @return the nom
*/
public String getNom() {
return nom;
}
/**
* @return the prenom
*/
public String getPrenom() {
return prenom;
}
/**
* @return the region
*/
public String getRegion() {
return region;
}
}

View File

@ -0,0 +1,19 @@
package gsbapplication;
/**
* @author emile malcuit
* @version 1
*/
public class GSBapplication {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
System.out.print("3bonjour");
System.out.print("3bonjour");
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 587 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 537 B

View File

@ -23,111 +23,13 @@
<Layout> <Layout>
<DimensionLayout dim="0"> <DimensionLayout dim="0">
<Group type="103" groupAlignment="0" attributes="0"> <Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="0" attributes="0"> <EmptySpace min="0" pref="400" max="32767" attributes="0"/>
<EmptySpace min="-2" pref="111" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" attributes="0">
<Component id="jBquitter" min="-2" max="-2" attributes="0"/>
<EmptySpace type="unrelated" max="-2" attributes="0"/>
<Component id="jBValider" min="-2" max="-2" attributes="0"/>
</Group>
<Group type="103" groupAlignment="1" max="-2" attributes="0">
<Group type="102" attributes="0">
<Component id="jLIdentifiant" max="32767" attributes="0"/>
<EmptySpace type="separate" max="-2" attributes="0"/>
<Component id="jTFIdentifiant" min="-2" pref="71" max="-2" attributes="0"/>
</Group>
<Component id="jLabel1" min="-2" max="-2" attributes="0"/>
</Group>
<Group type="102" attributes="0">
<Component id="jLmdp" min="-2" pref="86" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="jPFmdp" min="-2" max="-2" attributes="0"/>
</Group>
</Group>
<EmptySpace pref="102" max="32767" attributes="0"/>
</Group>
<Group type="102" alignment="1" attributes="0">
<EmptySpace max="32767" attributes="0"/>
<Component id="jLabel2" min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
</Group>
</Group> </Group>
</DimensionLayout> </DimensionLayout>
<DimensionLayout dim="1"> <DimensionLayout dim="1">
<Group type="103" groupAlignment="0" attributes="0"> <Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="0" attributes="0"> <EmptySpace min="0" pref="300" max="32767" attributes="0"/>
<Component id="jLabel2" min="-2" pref="38" max="-2" attributes="0"/>
<EmptySpace min="-2" pref="4" max="-2" attributes="0"/>
<Component id="jLabel1" min="-2" max="-2" attributes="0"/>
<EmptySpace min="-2" pref="48" max="-2" attributes="0"/>
<Group type="103" groupAlignment="3" attributes="0">
<Component id="jTFIdentifiant" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="jLIdentifiant" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace min="-2" pref="27" max="-2" attributes="0"/>
<Group type="103" groupAlignment="3" attributes="0">
<Component id="jPFmdp" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="jLmdp" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace min="-2" pref="52" max="-2" attributes="0"/>
<Group type="103" groupAlignment="3" attributes="0">
<Component id="jBValider" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="jBquitter" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace pref="48" max="32767" attributes="0"/>
</Group>
</Group> </Group>
</DimensionLayout> </DimensionLayout>
</Layout> </Layout>
<SubComponents>
<Component class="javax.swing.JLabel" name="jLabel1">
<Properties>
<Property name="text" type="java.lang.String" value="Bonjour veuillez vous identifier"/>
</Properties>
</Component>
<Component class="javax.swing.JTextField" name="jTFIdentifiant">
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jTFIdentifiantActionPerformed"/>
</Events>
</Component>
<Component class="javax.swing.JPasswordField" name="jPFmdp">
<Properties>
<Property name="text" type="java.lang.String" value="jPasswordField1"/>
</Properties>
</Component>
<Component class="javax.swing.JButton" name="jBValider">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/img/valider.png"/>
</Property>
<Property name="text" type="java.lang.String" value="Valider"/>
</Properties>
</Component>
<Component class="javax.swing.JButton" name="jBquitter">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/img/quitter.png"/>
</Property>
<Property name="text" type="java.lang.String" value="Quitter"/>
</Properties>
</Component>
<Component class="javax.swing.JLabel" name="jLIdentifiant">
<Properties>
<Property name="text" type="java.lang.String" value="Identifiant"/>
</Properties>
</Component>
<Component class="javax.swing.JLabel" name="jLmdp">
<Properties>
<Property name="text" type="java.lang.String" value="Mot de passe :"/>
</Properties>
</Component>
<Component class="javax.swing.JLabel" name="jLabel2">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/img/logodetoure.gif"/>
</Property>
</Properties>
</Component>
</SubComponents>
</Form> </Form>

View File

@ -26,94 +26,22 @@ public class jffConnexion extends javax.swing.JFrame {
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() { private void initComponents() {
jLabel1 = new javax.swing.JLabel();
jTFIdentifiant = new javax.swing.JTextField();
jPFmdp = new javax.swing.JPasswordField();
jBValider = new javax.swing.JButton();
jBquitter = new javax.swing.JButton();
jLIdentifiant = new javax.swing.JLabel();
jLmdp = new javax.swing.JLabel();
jLabel2 = new javax.swing.JLabel();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
jLabel1.setText("Bonjour veuillez vous identifier");
jTFIdentifiant.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jTFIdentifiantActionPerformed(evt);
}
});
jPFmdp.setText("jPasswordField1");
jBValider.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/valider.png"))); // NOI18N
jBValider.setText("Valider");
jBquitter.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/quitter.png"))); // NOI18N
jBquitter.setText("Quitter");
jLIdentifiant.setText("Identifiant");
jLmdp.setText("Mot de passe :");
jLabel2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/logodetoure.gif"))); // NOI18N
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout); getContentPane().setLayout(layout);
layout.setHorizontalGroup( layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup() .addGap(0, 400, Short.MAX_VALUE)
.addGap(111, 111, 111)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addComponent(jBquitter)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(jBValider))
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
.addGroup(layout.createSequentialGroup()
.addComponent(jLIdentifiant, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addGap(18, 18, 18)
.addComponent(jTFIdentifiant, javax.swing.GroupLayout.PREFERRED_SIZE, 71, javax.swing.GroupLayout.PREFERRED_SIZE))
.addComponent(jLabel1))
.addGroup(layout.createSequentialGroup()
.addComponent(jLmdp, javax.swing.GroupLayout.PREFERRED_SIZE, 86, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jPFmdp, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addContainerGap(102, Short.MAX_VALUE))
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jLabel2)
.addContainerGap())
); );
layout.setVerticalGroup( layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup() .addGap(0, 300, Short.MAX_VALUE)
.addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 38, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(4, 4, 4)
.addComponent(jLabel1)
.addGap(48, 48, 48)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jTFIdentifiant, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLIdentifiant))
.addGap(27, 27, 27)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jPFmdp, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLmdp))
.addGap(52, 52, 52)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jBValider)
.addComponent(jBquitter))
.addContainerGap(48, Short.MAX_VALUE))
); );
pack(); pack();
}// </editor-fold>//GEN-END:initComponents }// </editor-fold>//GEN-END:initComponents
private void jTFIdentifiantActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTFIdentifiantActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_jTFIdentifiantActionPerformed
/** /**
* @param args the command line arguments * @param args the command line arguments
*/ */
@ -150,13 +78,5 @@ public class jffConnexion extends javax.swing.JFrame {
} }
// Variables declaration - do not modify//GEN-BEGIN:variables // Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JButton jBValider;
private javax.swing.JButton jBquitter;
private javax.swing.JLabel jLIdentifiant;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLmdp;
private javax.swing.JPasswordField jPFmdp;
private javax.swing.JTextField jTFIdentifiant;
// End of variables declaration//GEN-END:variables // End of variables declaration//GEN-END:variables
} }

View File

@ -3,9 +3,6 @@
<Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> <Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
<Properties> <Properties>
<Property name="defaultCloseOperation" type="int" value="3"/> <Property name="defaultCloseOperation" type="int" value="3"/>
<Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
<Color blue="99" green="66" red="ff" type="rgb"/>
</Property>
</Properties> </Properties>
<SyntheticProperties> <SyntheticProperties>
<SyntheticProperty name="formSizePolicy" type="int" value="1"/> <SyntheticProperty name="formSizePolicy" type="int" value="1"/>
@ -26,88 +23,13 @@
<Layout> <Layout>
<DimensionLayout dim="0"> <DimensionLayout dim="0">
<Group type="103" groupAlignment="0" attributes="0"> <Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="1" attributes="0"> <EmptySpace min="0" pref="400" max="32767" attributes="0"/>
<EmptySpace min="0" pref="0" max="32767" attributes="0"/>
<Component id="jBpraticien" min="-2" pref="94" max="-2" attributes="0"/>
<EmptySpace min="-2" pref="147" max="-2" attributes="0"/>
</Group>
<Group type="102" attributes="0">
<EmptySpace min="-2" pref="137" max="-2" attributes="0"/>
<Component id="jLChoixPro" min="-2" max="-2" attributes="0"/>
<EmptySpace pref="69" max="32767" attributes="0"/>
<Component id="jLabel2" min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
</Group>
<Group type="102" alignment="1" attributes="0">
<EmptySpace max="32767" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="1" attributes="0">
<Component id="jBquitter" min="-2" max="-2" attributes="0"/>
<EmptySpace min="-2" pref="149" max="-2" attributes="0"/>
</Group>
<Group type="102" alignment="1" attributes="0">
<Component id="jBvisiteurMedical" min="-2" max="-2" attributes="0"/>
<EmptySpace min="-2" pref="136" max="-2" attributes="0"/>
</Group>
</Group>
</Group>
</Group> </Group>
</DimensionLayout> </DimensionLayout>
<DimensionLayout dim="1"> <DimensionLayout dim="1">
<Group type="103" groupAlignment="0" attributes="0"> <Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="0" attributes="0"> <EmptySpace min="0" pref="300" max="32767" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="1" attributes="0">
<Component id="jLChoixPro" min="-2" max="-2" attributes="0"/>
<Component id="jLabel2" min="-2" pref="38" max="-2" attributes="0"/>
</Group>
<EmptySpace min="-2" pref="59" max="-2" attributes="0"/>
<Component id="jBpraticien" min="-2" pref="31" max="-2" attributes="0"/>
<EmptySpace min="-2" pref="29" max="-2" attributes="0"/>
<Component id="jBvisiteurMedical" min="-2" pref="31" max="-2" attributes="0"/>
<EmptySpace min="-2" pref="26" max="-2" attributes="0"/>
<Component id="jBquitter" min="-2" max="-2" attributes="0"/>
<EmptySpace pref="57" max="32767" attributes="0"/>
</Group>
</Group> </Group>
</DimensionLayout> </DimensionLayout>
</Layout> </Layout>
<SubComponents>
<Component class="javax.swing.JLabel" name="jLChoixPro">
<Properties>
<Property name="text" type="java.lang.String" value="Choissiez Votre Profession"/>
</Properties>
</Component>
<Component class="javax.swing.JButton" name="jBpraticien">
<Properties>
<Property name="text" type="java.lang.String" value="Praticien"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jBpraticienActionPerformed"/>
</Events>
</Component>
<Component class="javax.swing.JButton" name="jBvisiteurMedical">
<Properties>
<Property name="text" type="java.lang.String" value="visiteur medical"/>
</Properties>
</Component>
<Component class="javax.swing.JButton" name="jBquitter">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/img/quitter.png"/>
</Property>
<Property name="text" type="java.lang.String" value="Quitter"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jBquitterActionPerformed"/>
</Events>
</Component>
<Component class="javax.swing.JLabel" name="jLabel2">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/img/logodetoure.gif"/>
</Property>
</Properties>
</Component>
</SubComponents>
</Form> </Form>

View File

@ -26,87 +26,22 @@ public class jffProfession extends javax.swing.JFrame {
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() { private void initComponents() {
jLChoixPro = new javax.swing.JLabel();
jBpraticien = new javax.swing.JButton();
jBvisiteurMedical = new javax.swing.JButton();
jBquitter = new javax.swing.JButton();
jLabel2 = new javax.swing.JLabel();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
setBackground(new java.awt.Color(255, 102, 153));
jLChoixPro.setText("Choissiez Votre Profession");
jBpraticien.setText("Praticien");
jBpraticien.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jBpraticienActionPerformed(evt);
}
});
jBvisiteurMedical.setText("visiteur medical");
jBquitter.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/quitter.png"))); // NOI18N
jBquitter.setText("Quitter");
jBquitter.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jBquitterActionPerformed(evt);
}
});
jLabel2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/logodetoure.gif"))); // NOI18N
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout); getContentPane().setLayout(layout);
layout.setHorizontalGroup( layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() .addGap(0, 400, Short.MAX_VALUE)
.addGap(0, 0, Short.MAX_VALUE)
.addComponent(jBpraticien, javax.swing.GroupLayout.PREFERRED_SIZE, 94, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(147, 147, 147))
.addGroup(layout.createSequentialGroup()
.addGap(137, 137, 137)
.addComponent(jLChoixPro)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 69, Short.MAX_VALUE)
.addComponent(jLabel2)
.addContainerGap())
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
.addComponent(jBquitter)
.addGap(149, 149, 149))
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
.addComponent(jBvisiteurMedical)
.addGap(136, 136, 136))))
); );
layout.setVerticalGroup( layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup() .addGap(0, 300, Short.MAX_VALUE)
.addContainerGap()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
.addComponent(jLChoixPro)
.addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 38, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(59, 59, 59)
.addComponent(jBpraticien, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(29, 29, 29)
.addComponent(jBvisiteurMedical, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(26, 26, 26)
.addComponent(jBquitter)
.addContainerGap(57, Short.MAX_VALUE))
); );
pack(); pack();
}// </editor-fold>//GEN-END:initComponents }// </editor-fold>//GEN-END:initComponents
private void jBpraticienActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBpraticienActionPerformed
// 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
/** /**
* @param args the command line arguments * @param args the command line arguments
*/ */
@ -143,10 +78,5 @@ public class jffProfession extends javax.swing.JFrame {
} }
// Variables declaration - do not modify//GEN-BEGIN:variables // Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JButton jBpraticien;
private javax.swing.JButton jBquitter;
private javax.swing.JButton jBvisiteurMedical;
private javax.swing.JLabel jLChoixPro;
private javax.swing.JLabel jLabel2;
// End of variables declaration//GEN-END:variables // End of variables declaration//GEN-END:variables
} }