Compare commits
	
		
			11 Commits
		
	
	
		
			Emile.java
			...
			239902c078
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 239902c078 | |||
| 6b7bc3fc49 | |||
| 
						 | 
					46a255b6eb | ||
| 
						 | 
					09ac92b6b2 | ||
| 
						 | 
					d83244bf08 | ||
| 5d2faf0b49 | |||
| 
						 | 
					c26fd27d41 | ||
| 5abb621a8e | |||
| b0b7e5a46a | |||
| 984038f81a | |||
| 
						 | 
					05f1473fb9 | 
@@ -33,9 +33,11 @@ dist.javadoc.dir=${dist.dir}/javadoc
 | 
				
			|||||||
dist.jlink.dir=${dist.dir}/jlink
 | 
					dist.jlink.dir=${dist.dir}/jlink
 | 
				
			||||||
dist.jlink.output=${dist.jlink.dir}/GSBapplication
 | 
					dist.jlink.output=${dist.jlink.dir}/GSBapplication
 | 
				
			||||||
excludes=
 | 
					excludes=
 | 
				
			||||||
 | 
					file.reference.mysql-connector-j-8.3.0.jar=C:\\Users\\medhi.rodrigues\\Documents\\NetBeansProjects\\Driver\\mysql-connector-j-8.3.0.jar
 | 
				
			||||||
includes=**
 | 
					includes=**
 | 
				
			||||||
jar.compress=false
 | 
					jar.compress=false
 | 
				
			||||||
javac.classpath=
 | 
					javac.classpath=\
 | 
				
			||||||
 | 
					    ${file.reference.mysql-connector-j-8.3.0.jar}
 | 
				
			||||||
# Space-separated list of extra javac options
 | 
					# Space-separated list of extra javac options
 | 
				
			||||||
javac.compilerargs=
 | 
					javac.compilerargs=
 | 
				
			||||||
javac.deprecation=false
 | 
					javac.deprecation=false
 | 
				
			||||||
@@ -48,8 +50,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=\
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										32
									
								
								GSBapplication/src/Metier/Observation.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								GSBapplication/src/Metier/Observation.java
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,32 @@
 | 
				
			|||||||
 | 
					/*
 | 
				
			||||||
 | 
					 * 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;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										38
									
								
								GSBapplication/src/Metier/famille.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								GSBapplication/src/Metier/famille.java
									
									
									
									
									
										Normal 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 + '}';
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@@ -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();
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
    
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
@@ -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;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					    //LES GETTEUR
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
     * Getteur de l'id du pratitien
 | 
					     * @return the id
 | 
				
			||||||
     * @return idPraticien
 | 
					 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
    public int getIdPraticien() {
 | 
					    public int getId() {
 | 
				
			||||||
        return this.idPraticien;
 | 
					        return id;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
     * Getteur du nom du pratitien
 | 
					     * @return the nom
 | 
				
			||||||
     * @return nomPraticien
 | 
					 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
    public String getNomPraticien() {
 | 
					    public String getNom() {
 | 
				
			||||||
        return this.nomPraticien;
 | 
					        return nom;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
     * Getteur du pr<70>nom du pratitien
 | 
					     * @return the prenom
 | 
				
			||||||
     * @return 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 + '}';
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
      
 | 
					      
 | 
				
			||||||
   
 | 
					   
 | 
				
			||||||
    
 | 
					 | 
				
			||||||
    
 | 
					 | 
				
			||||||
    
 | 
					 | 
				
			||||||
    
 | 
					 | 
				
			||||||
    
 | 
					 | 
				
			||||||
    
 | 
					 | 
				
			||||||
    
 | 
					 | 
				
			||||||
    
 | 
					 | 
				
			||||||
    
 | 
					 | 
				
			||||||
    
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										68
									
								
								GSBapplication/src/Metier/visiteur_medicaux.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										68
									
								
								GSBapplication/src/Metier/visiteur_medicaux.java
									
									
									
									
									
										Normal 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;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										13
									
								
								GSBapplication/src/TEST/test.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								GSBapplication/src/TEST/test.java
									
									
									
									
									
										Normal 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 {
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@@ -1,13 +1,60 @@
 | 
				
			|||||||
/*
 | 
					 | 
				
			||||||
 * 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 acces_aux_donnes;
 | 
					package acces_aux_donnes;
 | 
				
			||||||
 | 
					/*
 | 
				
			||||||
 | 
					Connexion.java
 | 
				
			||||||
 | 
					Classe permettant d'<27>tablir une connexion avec une base de donn<6E>es mySQL
 | 
				
			||||||
 | 
					*/
 | 
				
			||||||
 | 
					import java.sql.Connection;
 | 
				
			||||||
 | 
					import java.sql.DriverManager;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					public class connexionSQL {
 | 
				
			||||||
 | 
					    private static Connection connect;      // Variable de connexion
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  /**
 | 
					  /**
 | 
				
			||||||
 *
 | 
					   * Constructeur
 | 
				
			||||||
 * @author emile.lalorcey
 | 
					   * @param serveur     nom du serveur, localhost si local
 | 
				
			||||||
 | 
					   * @param bdd         nom de la base de donn<6E>es
 | 
				
			||||||
 | 
					   * @param nomUtil     nom utilisateur
 | 
				
			||||||
 | 
					   * @param mdp         mot de passe li<6C> <20> l'utilisateur
 | 
				
			||||||
   */   
 | 
					   */   
 | 
				
			||||||
public class connexionSQL {
 | 
					  private connexionSQL(String serveur, String bdd, String nomUtil, String mdp) {     
 | 
				
			||||||
 | 
					    try {
 | 
				
			||||||
 | 
					      // 1. Chargement du driver
 | 
				
			||||||
 | 
					      //Class.forName("com.mysql.jdbc.Driver");
 | 
				
			||||||
 | 
					      Class.forName("com.mysql.cj.jdbc.Driver");
 | 
				
			||||||
 | 
					      System.out.println("Driver accessible");
 | 
				
			||||||
 
 | 
					 
 | 
				
			||||||
 | 
					      // 2. Initialisation des param<61>tres de connexion
 | 
				
			||||||
 | 
					      String host   = serveur;                              // Serveur de bd
 | 
				
			||||||
 | 
					      String dbname = bdd;                                  // Nom bd
 | 
				
			||||||
 | 
					      String url = "jdbc:mysql://" + host + "/" + dbname;   // url de connexion
 | 
				
			||||||
 | 
					      System.out.println("url : "+url);
 | 
				
			||||||
 | 
					      String user = nomUtil;                                // nom du user
 | 
				
			||||||
 | 
					      System.out.println("nomUtil : "+nomUtil);
 | 
				
			||||||
 | 
					      String passwd = mdp;                                  // mot de passe
 | 
				
			||||||
 | 
					      System.out.println("mdp : "+mdp);
 | 
				
			||||||
 | 
					      
 | 
				
			||||||
 | 
					      // 3. Connexion
 | 
				
			||||||
 | 
					      connect = (Connection) DriverManager.getConnection(url, user, passwd);
 | 
				
			||||||
 | 
					      System.out.println("Connexion r<>ussie !");     
 | 
				
			||||||
 | 
					           
 | 
				
			||||||
 | 
					    } catch (Exception e) {
 | 
				
			||||||
 | 
					      e.printStackTrace();
 | 
				
			||||||
 | 
					    }     
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * Retourne la connection <20>tablie (Cr<43>ation d'une connection si elle n'existe pas)
 | 
				
			||||||
 | 
					     * @param serveur  nom du serveur, localhost si local
 | 
				
			||||||
 | 
					     * @param bdd nom de la base de donn<6E>es
 | 
				
			||||||
 | 
					     * @param nomUtil nom utilisateur
 | 
				
			||||||
 | 
					     * @param mdp mot de passe li<6C> <20> l'utilisateur
 | 
				
			||||||
 | 
					     * @return connection <20>tablie
 | 
				
			||||||
 | 
					     */  
 | 
				
			||||||
 | 
					    public static Connection getConnect(String serveur, String bdd, String nomUtil, String mdp) {
 | 
				
			||||||
 | 
					        System.out.println("getConnect");
 | 
				
			||||||
 | 
					        if (connect == null) {
 | 
				
			||||||
 | 
					            new connexionSQL(serveur, bdd, nomUtil, mdp);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        return connect;
 | 
				
			||||||
 | 
					    }    
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -24,66 +24,106 @@
 | 
				
			|||||||
    <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">
 | 
					          <Group type="102" alignment="0" attributes="0">
 | 
				
			||||||
              <EmptySpace min="-2" pref="111" max="-2" attributes="0"/>
 | 
					              <EmptySpace min="-2" pref="23" max="-2" attributes="0"/>
 | 
				
			||||||
 | 
					              <Component id="jPFond" min="-2" max="-2" attributes="0"/>
 | 
				
			||||||
 | 
					              <EmptySpace pref="26" max="32767" attributes="0"/>
 | 
				
			||||||
 | 
					          </Group>
 | 
				
			||||||
 | 
					      </Group>
 | 
				
			||||||
 | 
					    </DimensionLayout>
 | 
				
			||||||
 | 
					    <DimensionLayout dim="1">
 | 
				
			||||||
 | 
					      <Group type="103" groupAlignment="0" attributes="0">
 | 
				
			||||||
 | 
					          <Group type="102" alignment="1" attributes="0">
 | 
				
			||||||
 | 
					              <EmptySpace min="0" pref="6" max="32767" attributes="0"/>
 | 
				
			||||||
 | 
					              <Component id="jPFond" min="-2" max="-2" attributes="0"/>
 | 
				
			||||||
 | 
					          </Group>
 | 
				
			||||||
 | 
					      </Group>
 | 
				
			||||||
 | 
					    </DimensionLayout>
 | 
				
			||||||
 | 
					  </Layout>
 | 
				
			||||||
 | 
					  <SubComponents>
 | 
				
			||||||
 | 
					    <Container class="javax.swing.JPanel" name="jPFond">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      <Layout>
 | 
				
			||||||
 | 
					        <DimensionLayout dim="0">
 | 
				
			||||||
          <Group type="103" groupAlignment="0" attributes="0">
 | 
					          <Group type="103" groupAlignment="0" attributes="0">
 | 
				
			||||||
              <Group type="102" attributes="0">
 | 
					              <Group type="102" attributes="0">
 | 
				
			||||||
 | 
					                  <EmptySpace min="-2" pref="141" max="-2" attributes="0"/>
 | 
				
			||||||
                  <Component id="jBquitter" min="-2" max="-2" 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"/>
 | 
					                  <EmptySpace type="separate" max="-2" attributes="0"/>
 | 
				
			||||||
                          <Component id="jTFIdentifiant" min="-2" pref="71" max="-2" attributes="0"/>
 | 
					                  <Component id="jBValider" min="-2" max="-2" attributes="0"/>
 | 
				
			||||||
                      </Group>
 | 
					                  <EmptySpace max="32767" attributes="0"/>
 | 
				
			||||||
                      <Component id="jLabel1" min="-2" max="-2" attributes="0"/>
 | 
					 | 
				
			||||||
              </Group>
 | 
					              </Group>
 | 
				
			||||||
 | 
					              <Group type="102" alignment="0" attributes="0">
 | 
				
			||||||
 | 
					                  <EmptySpace min="-2" pref="109" max="-2" attributes="0"/>
 | 
				
			||||||
 | 
					                  <Group type="103" groupAlignment="1" attributes="0">
 | 
				
			||||||
                      <Group type="102" attributes="0">
 | 
					                      <Group type="102" attributes="0">
 | 
				
			||||||
                      <Component id="jLmdp" min="-2" pref="86" max="-2" attributes="0"/>
 | 
					                          <Component id="jLBonjour" min="-2" max="-2" attributes="0"/>
 | 
				
			||||||
                      <EmptySpace max="-2" attributes="0"/>
 | 
					                          <EmptySpace min="-2" pref="8" max="-2" attributes="0"/>
 | 
				
			||||||
                      <Component id="jPFmdp" min="-2" max="-2" attributes="0"/>
 | 
					 | 
				
			||||||
                  </Group>
 | 
					 | 
				
			||||||
              </Group>
 | 
					 | 
				
			||||||
              <EmptySpace pref="102" max="32767" attributes="0"/>
 | 
					 | 
				
			||||||
                      </Group>
 | 
					                      </Group>
 | 
				
			||||||
                      <Group type="102" alignment="1" attributes="0">
 | 
					                      <Group type="102" alignment="1" attributes="0">
 | 
				
			||||||
              <EmptySpace max="32767" attributes="0"/>
 | 
					                          <Group type="103" groupAlignment="0" attributes="0">
 | 
				
			||||||
              <Component id="jLabel2" min="-2" max="-2" attributes="0"/>
 | 
					                              <Group type="102" alignment="1" attributes="0">
 | 
				
			||||||
 | 
					                                  <Component id="jLmdp" min="-2" pref="86" max="-2" attributes="0"/>
 | 
				
			||||||
                                  <EmptySpace max="-2" attributes="0"/>
 | 
					                                  <EmptySpace max="-2" attributes="0"/>
 | 
				
			||||||
                              </Group>
 | 
					                              </Group>
 | 
				
			||||||
 | 
					                              <Group type="102" alignment="0" attributes="0">
 | 
				
			||||||
 | 
					                                  <Component id="jLIdentifiant" min="-2" pref="73" max="-2" attributes="0"/>
 | 
				
			||||||
 | 
					                                  <EmptySpace min="-2" pref="19" max="-2" attributes="0"/>
 | 
				
			||||||
 | 
					                              </Group>
 | 
				
			||||||
 | 
					                          </Group>
 | 
				
			||||||
 | 
					                          <Group type="103" groupAlignment="0" max="-2" attributes="0">
 | 
				
			||||||
 | 
					                              <Component id="jTFIdentifiant" pref="90" max="32767" attributes="0"/>
 | 
				
			||||||
 | 
					                              <Component id="jPFmdp" max="32767" attributes="0"/>
 | 
				
			||||||
 | 
					                          </Group>
 | 
				
			||||||
 | 
					                      </Group>
 | 
				
			||||||
 | 
					                  </Group>
 | 
				
			||||||
 | 
					                  <EmptySpace max="32767" attributes="0"/>
 | 
				
			||||||
 | 
					                  <Component id="jLLogo" min="-2" max="-2" attributes="0"/>
 | 
				
			||||||
 | 
					                  <EmptySpace min="-2" pref="26" 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">
 | 
					              <Group type="102" alignment="0" attributes="0">
 | 
				
			||||||
              <Component id="jLabel2" min="-2" pref="38" max="-2" attributes="0"/>
 | 
					                  <Group type="103" groupAlignment="0" attributes="0">
 | 
				
			||||||
              <EmptySpace min="-2" pref="4" max="-2" attributes="0"/>
 | 
					                      <Group type="102" attributes="0">
 | 
				
			||||||
              <Component id="jLabel1" min="-2" max="-2" attributes="0"/>
 | 
					                          <EmptySpace min="-2" pref="30" max="-2" attributes="0"/>
 | 
				
			||||||
              <EmptySpace min="-2" pref="48" max="-2" attributes="0"/>
 | 
					                          <Component id="jLBonjour" min="-2" max="-2" attributes="0"/>
 | 
				
			||||||
 | 
					                      </Group>
 | 
				
			||||||
 | 
					                      <Group type="102" alignment="0" attributes="0">
 | 
				
			||||||
 | 
					                          <EmptySpace min="-2" pref="17" max="-2" attributes="0"/>
 | 
				
			||||||
 | 
					                          <Component id="jLLogo" min="-2" max="-2" attributes="0"/>
 | 
				
			||||||
 | 
					                      </Group>
 | 
				
			||||||
 | 
					                  </Group>
 | 
				
			||||||
 | 
					                  <EmptySpace min="-2" pref="29" max="-2" attributes="0"/>
 | 
				
			||||||
                  <Group type="103" groupAlignment="3" 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"/>
 | 
					                      <Component id="jLIdentifiant" alignment="3" min="-2" max="-2" attributes="0"/>
 | 
				
			||||||
 | 
					                      <Component id="jTFIdentifiant" alignment="3" min="-2" max="-2" attributes="0"/>
 | 
				
			||||||
                  </Group>
 | 
					                  </Group>
 | 
				
			||||||
              <EmptySpace min="-2" pref="27" max="-2" attributes="0"/>
 | 
					                  <EmptySpace min="-2" pref="34" max="-2" attributes="0"/>
 | 
				
			||||||
                  <Group type="103" groupAlignment="3" 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"/>
 | 
					                      <Component id="jLmdp" alignment="3" min="-2" max="-2" attributes="0"/>
 | 
				
			||||||
 | 
					                      <Component id="jPFmdp" alignment="3" min="-2" max="-2" attributes="0"/>
 | 
				
			||||||
                  </Group>
 | 
					                  </Group>
 | 
				
			||||||
              <EmptySpace min="-2" pref="52" max="-2" attributes="0"/>
 | 
					                  <EmptySpace pref="79" max="32767" attributes="0"/>
 | 
				
			||||||
                  <Group type="103" groupAlignment="3" 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"/>
 | 
					                      <Component id="jBquitter" alignment="3" min="-2" max="-2" attributes="0"/>
 | 
				
			||||||
 | 
					                      <Component id="jBValider" alignment="3" min="-2" max="-2" attributes="0"/>
 | 
				
			||||||
                  </Group>
 | 
					                  </Group>
 | 
				
			||||||
              <EmptySpace pref="48" max="32767" attributes="0"/>
 | 
					                  <EmptySpace min="-2" pref="45" max="-2" attributes="0"/>
 | 
				
			||||||
              </Group>
 | 
					              </Group>
 | 
				
			||||||
          </Group>
 | 
					          </Group>
 | 
				
			||||||
        </DimensionLayout>
 | 
					        </DimensionLayout>
 | 
				
			||||||
      </Layout>
 | 
					      </Layout>
 | 
				
			||||||
      <SubComponents>
 | 
					      <SubComponents>
 | 
				
			||||||
    <Component class="javax.swing.JLabel" name="jLabel1">
 | 
					        <Component class="javax.swing.JLabel" name="jLBonjour">
 | 
				
			||||||
          <Properties>
 | 
					          <Properties>
 | 
				
			||||||
        <Property name="text" type="java.lang.String" value="Bonjour veuillez vous identifier"/>
 | 
					            <Property name="text" type="java.lang.String" value="Bonjour veuillez vous identifier :"/>
 | 
				
			||||||
 | 
					          </Properties>
 | 
				
			||||||
 | 
					        </Component>
 | 
				
			||||||
 | 
					        <Component class="javax.swing.JLabel" name="jLIdentifiant">
 | 
				
			||||||
 | 
					          <Properties>
 | 
				
			||||||
 | 
					            <Property name="text" type="java.lang.String" value="Identifiant :"/>
 | 
				
			||||||
          </Properties>
 | 
					          </Properties>
 | 
				
			||||||
        </Component>
 | 
					        </Component>
 | 
				
			||||||
        <Component class="javax.swing.JTextField" name="jTFIdentifiant">
 | 
					        <Component class="javax.swing.JTextField" name="jTFIdentifiant">
 | 
				
			||||||
@@ -91,18 +131,15 @@
 | 
				
			|||||||
            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jTFIdentifiantActionPerformed"/>
 | 
					            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jTFIdentifiantActionPerformed"/>
 | 
				
			||||||
          </Events>
 | 
					          </Events>
 | 
				
			||||||
        </Component>
 | 
					        </Component>
 | 
				
			||||||
    <Component class="javax.swing.JPasswordField" name="jPFmdp">
 | 
					        <Component class="javax.swing.JLabel" name="jLmdp">
 | 
				
			||||||
          <Properties>
 | 
					          <Properties>
 | 
				
			||||||
        <Property name="text" type="java.lang.String" value="jPasswordField1"/>
 | 
					            <Property name="text" type="java.lang.String" value="Mot de passe :"/>
 | 
				
			||||||
          </Properties>
 | 
					          </Properties>
 | 
				
			||||||
        </Component>
 | 
					        </Component>
 | 
				
			||||||
    <Component class="javax.swing.JButton" name="jBValider">
 | 
					        <Component class="javax.swing.JPasswordField" name="jPFmdp">
 | 
				
			||||||
      <Properties>
 | 
					          <Events>
 | 
				
			||||||
        <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
 | 
					            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jPFmdpActionPerformed"/>
 | 
				
			||||||
          <Image iconType="3" name="/img/valider.png"/>
 | 
					          </Events>
 | 
				
			||||||
        </Property>
 | 
					 | 
				
			||||||
        <Property name="text" type="java.lang.String" value="Valider"/>
 | 
					 | 
				
			||||||
      </Properties>
 | 
					 | 
				
			||||||
        </Component>
 | 
					        </Component>
 | 
				
			||||||
        <Component class="javax.swing.JButton" name="jBquitter">
 | 
					        <Component class="javax.swing.JButton" name="jBquitter">
 | 
				
			||||||
          <Properties>
 | 
					          <Properties>
 | 
				
			||||||
@@ -112,17 +149,18 @@
 | 
				
			|||||||
            <Property name="text" type="java.lang.String" value="Quitter"/>
 | 
					            <Property name="text" type="java.lang.String" value="Quitter"/>
 | 
				
			||||||
          </Properties>
 | 
					          </Properties>
 | 
				
			||||||
        </Component>
 | 
					        </Component>
 | 
				
			||||||
    <Component class="javax.swing.JLabel" name="jLIdentifiant">
 | 
					        <Component class="javax.swing.JButton" name="jBValider">
 | 
				
			||||||
          <Properties>
 | 
					          <Properties>
 | 
				
			||||||
        <Property name="text" type="java.lang.String" value="Identifiant"/>
 | 
					            <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>
 | 
					          </Properties>
 | 
				
			||||||
 | 
					          <Events>
 | 
				
			||||||
 | 
					            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jBValiderActionPerformed"/>
 | 
				
			||||||
 | 
					          </Events>
 | 
				
			||||||
        </Component>
 | 
					        </Component>
 | 
				
			||||||
    <Component class="javax.swing.JLabel" name="jLmdp">
 | 
					        <Component class="javax.swing.JLabel" name="jLLogo">
 | 
				
			||||||
      <Properties>
 | 
					 | 
				
			||||||
        <Property name="text" type="java.lang.String" value="Mot de passe :"/>
 | 
					 | 
				
			||||||
      </Properties>
 | 
					 | 
				
			||||||
    </Component>
 | 
					 | 
				
			||||||
    <Component class="javax.swing.JLabel" name="jLabel2">
 | 
					 | 
				
			||||||
          <Properties>
 | 
					          <Properties>
 | 
				
			||||||
            <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
 | 
					            <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
 | 
				
			||||||
              <Image iconType="3" name="/img/logodetoure.gif"/>
 | 
					              <Image iconType="3" name="/img/logodetoure.gif"/>
 | 
				
			||||||
@@ -130,4 +168,6 @@
 | 
				
			|||||||
          </Properties>
 | 
					          </Properties>
 | 
				
			||||||
        </Component>
 | 
					        </Component>
 | 
				
			||||||
      </SubComponents>
 | 
					      </SubComponents>
 | 
				
			||||||
 | 
					    </Container>
 | 
				
			||||||
 | 
					  </SubComponents>
 | 
				
			||||||
</Form>
 | 
					</Form>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -26,18 +26,21 @@ 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();
 | 
					        jPFond = new javax.swing.JPanel();
 | 
				
			||||||
        jTFIdentifiant = new javax.swing.JTextField();
 | 
					        jLBonjour = new javax.swing.JLabel();
 | 
				
			||||||
        jPFmdp = new javax.swing.JPasswordField();
 | 
					 | 
				
			||||||
        jBValider = new javax.swing.JButton();
 | 
					 | 
				
			||||||
        jBquitter = new javax.swing.JButton();
 | 
					 | 
				
			||||||
        jLIdentifiant = new javax.swing.JLabel();
 | 
					        jLIdentifiant = new javax.swing.JLabel();
 | 
				
			||||||
 | 
					        jTFIdentifiant = new javax.swing.JTextField();
 | 
				
			||||||
        jLmdp = new javax.swing.JLabel();
 | 
					        jLmdp = new javax.swing.JLabel();
 | 
				
			||||||
        jLabel2 = new javax.swing.JLabel();
 | 
					        jPFmdp = new javax.swing.JPasswordField();
 | 
				
			||||||
 | 
					        jBquitter = new javax.swing.JButton();
 | 
				
			||||||
 | 
					        jBValider = new javax.swing.JButton();
 | 
				
			||||||
 | 
					        jLLogo = new javax.swing.JLabel();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
 | 
					        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        jLabel1.setText("Bonjour veuillez vous identifier");
 | 
					        jLBonjour.setText("Bonjour veuillez vous identifier :");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        jLIdentifiant.setText("Identifiant :");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        jTFIdentifiant.addActionListener(new java.awt.event.ActionListener() {
 | 
					        jTFIdentifiant.addActionListener(new java.awt.event.ActionListener() {
 | 
				
			||||||
            public void actionPerformed(java.awt.event.ActionEvent evt) {
 | 
					            public void actionPerformed(java.awt.event.ActionEvent evt) {
 | 
				
			||||||
@@ -45,66 +48,97 @@ public class jffConnexion extends javax.swing.JFrame {
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        jPFmdp.setText("jPasswordField1");
 | 
					        jLmdp.setText("Mot de passe :");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        jBValider.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/valider.png"))); // NOI18N
 | 
					        jPFmdp.addActionListener(new java.awt.event.ActionListener() {
 | 
				
			||||||
        jBValider.setText("Valider");
 | 
					            public void actionPerformed(java.awt.event.ActionEvent evt) {
 | 
				
			||||||
 | 
					                jPFmdpActionPerformed(evt);
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        jBquitter.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/quitter.png"))); // NOI18N
 | 
					        jBquitter.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/quitter.png"))); // NOI18N
 | 
				
			||||||
        jBquitter.setText("Quitter");
 | 
					        jBquitter.setText("Quitter");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        jLIdentifiant.setText("Identifiant");
 | 
					        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);
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        jLmdp.setText("Mot de passe :");
 | 
					        jLLogo.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/logodetoure.gif"))); // NOI18N
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        jLabel2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/logodetoure.gif"))); // NOI18N
 | 
					        javax.swing.GroupLayout jPFondLayout = new javax.swing.GroupLayout(jPFond);
 | 
				
			||||||
 | 
					        jPFond.setLayout(jPFondLayout);
 | 
				
			||||||
 | 
					        jPFondLayout.setHorizontalGroup(
 | 
				
			||||||
 | 
					            jPFondLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
 | 
				
			||||||
 | 
					            .addGroup(jPFondLayout.createSequentialGroup()
 | 
				
			||||||
 | 
					                .addGap(141, 141, 141)
 | 
				
			||||||
 | 
					                .addComponent(jBquitter)
 | 
				
			||||||
 | 
					                .addGap(18, 18, 18)
 | 
				
			||||||
 | 
					                .addComponent(jBValider)
 | 
				
			||||||
 | 
					                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
 | 
				
			||||||
 | 
					            .addGroup(jPFondLayout.createSequentialGroup()
 | 
				
			||||||
 | 
					                .addGap(109, 109, 109)
 | 
				
			||||||
 | 
					                .addGroup(jPFondLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
 | 
				
			||||||
 | 
					                    .addGroup(jPFondLayout.createSequentialGroup()
 | 
				
			||||||
 | 
					                        .addComponent(jLBonjour)
 | 
				
			||||||
 | 
					                        .addGap(8, 8, 8))
 | 
				
			||||||
 | 
					                    .addGroup(jPFondLayout.createSequentialGroup()
 | 
				
			||||||
 | 
					                        .addGroup(jPFondLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
 | 
				
			||||||
 | 
					                            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPFondLayout.createSequentialGroup()
 | 
				
			||||||
 | 
					                                .addComponent(jLmdp, javax.swing.GroupLayout.PREFERRED_SIZE, 86, javax.swing.GroupLayout.PREFERRED_SIZE)
 | 
				
			||||||
 | 
					                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED))
 | 
				
			||||||
 | 
					                            .addGroup(jPFondLayout.createSequentialGroup()
 | 
				
			||||||
 | 
					                                .addComponent(jLIdentifiant, javax.swing.GroupLayout.PREFERRED_SIZE, 73, javax.swing.GroupLayout.PREFERRED_SIZE)
 | 
				
			||||||
 | 
					                                .addGap(19, 19, 19)))
 | 
				
			||||||
 | 
					                        .addGroup(jPFondLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
 | 
				
			||||||
 | 
					                            .addComponent(jTFIdentifiant, javax.swing.GroupLayout.DEFAULT_SIZE, 90, Short.MAX_VALUE)
 | 
				
			||||||
 | 
					                            .addComponent(jPFmdp))))
 | 
				
			||||||
 | 
					                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
 | 
				
			||||||
 | 
					                .addComponent(jLLogo)
 | 
				
			||||||
 | 
					                .addGap(26, 26, 26))
 | 
				
			||||||
 | 
					        );
 | 
				
			||||||
 | 
					        jPFondLayout.setVerticalGroup(
 | 
				
			||||||
 | 
					            jPFondLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
 | 
				
			||||||
 | 
					            .addGroup(jPFondLayout.createSequentialGroup()
 | 
				
			||||||
 | 
					                .addGroup(jPFondLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
 | 
				
			||||||
 | 
					                    .addGroup(jPFondLayout.createSequentialGroup()
 | 
				
			||||||
 | 
					                        .addGap(30, 30, 30)
 | 
				
			||||||
 | 
					                        .addComponent(jLBonjour))
 | 
				
			||||||
 | 
					                    .addGroup(jPFondLayout.createSequentialGroup()
 | 
				
			||||||
 | 
					                        .addGap(17, 17, 17)
 | 
				
			||||||
 | 
					                        .addComponent(jLLogo)))
 | 
				
			||||||
 | 
					                .addGap(29, 29, 29)
 | 
				
			||||||
 | 
					                .addGroup(jPFondLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
 | 
				
			||||||
 | 
					                    .addComponent(jLIdentifiant)
 | 
				
			||||||
 | 
					                    .addComponent(jTFIdentifiant, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
 | 
				
			||||||
 | 
					                .addGap(34, 34, 34)
 | 
				
			||||||
 | 
					                .addGroup(jPFondLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
 | 
				
			||||||
 | 
					                    .addComponent(jLmdp)
 | 
				
			||||||
 | 
					                    .addComponent(jPFmdp, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
 | 
				
			||||||
 | 
					                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 79, Short.MAX_VALUE)
 | 
				
			||||||
 | 
					                .addGroup(jPFondLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
 | 
				
			||||||
 | 
					                    .addComponent(jBquitter)
 | 
				
			||||||
 | 
					                    .addComponent(jBValider))
 | 
				
			||||||
 | 
					                .addGap(45, 45, 45))
 | 
				
			||||||
 | 
					        );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        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()
 | 
					            .addGroup(layout.createSequentialGroup()
 | 
				
			||||||
                .addGap(111, 111, 111)
 | 
					                .addGap(23, 23, 23)
 | 
				
			||||||
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
 | 
					                .addComponent(jPFond, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
 | 
				
			||||||
                    .addGroup(layout.createSequentialGroup()
 | 
					                .addContainerGap(26, Short.MAX_VALUE))
 | 
				
			||||||
                        .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()
 | 
					            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
 | 
				
			||||||
                .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 38, javax.swing.GroupLayout.PREFERRED_SIZE)
 | 
					                .addGap(0, 6, Short.MAX_VALUE)
 | 
				
			||||||
                .addGap(4, 4, 4)
 | 
					                .addComponent(jPFond, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
 | 
				
			||||||
                .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();
 | 
				
			||||||
@@ -114,6 +148,16 @@ public class jffConnexion extends javax.swing.JFrame {
 | 
				
			|||||||
        // TODO add your handling code here:
 | 
					        // TODO add your handling code here:
 | 
				
			||||||
    }//GEN-LAST:event_jTFIdentifiantActionPerformed
 | 
					    }//GEN-LAST:event_jTFIdentifiantActionPerformed
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    private void jPFmdpActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jPFmdpActionPerformed
 | 
				
			||||||
 | 
					        // 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
 | 
					     * @param args the command line arguments
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
@@ -152,11 +196,12 @@ 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 jBValider;
 | 
				
			||||||
    private javax.swing.JButton jBquitter;
 | 
					    private javax.swing.JButton jBquitter;
 | 
				
			||||||
 | 
					    private javax.swing.JLabel jLBonjour;
 | 
				
			||||||
    private javax.swing.JLabel jLIdentifiant;
 | 
					    private javax.swing.JLabel jLIdentifiant;
 | 
				
			||||||
    private javax.swing.JLabel jLabel1;
 | 
					    private javax.swing.JLabel jLLogo;
 | 
				
			||||||
    private javax.swing.JLabel jLabel2;
 | 
					 | 
				
			||||||
    private javax.swing.JLabel jLmdp;
 | 
					    private javax.swing.JLabel jLmdp;
 | 
				
			||||||
    private javax.swing.JPasswordField jPFmdp;
 | 
					    private javax.swing.JPasswordField jPFmdp;
 | 
				
			||||||
 | 
					    private javax.swing.JPanel jPFond;
 | 
				
			||||||
    private javax.swing.JTextField jTFIdentifiant;
 | 
					    private javax.swing.JTextField jTFIdentifiant;
 | 
				
			||||||
    // End of variables declaration//GEN-END:variables
 | 
					    // End of variables declaration//GEN-END:variables
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -34,8 +34,8 @@
 | 
				
			|||||||
          <Group type="102" attributes="0">
 | 
					          <Group type="102" attributes="0">
 | 
				
			||||||
              <EmptySpace min="-2" pref="137" max="-2" attributes="0"/>
 | 
					              <EmptySpace min="-2" pref="137" max="-2" attributes="0"/>
 | 
				
			||||||
              <Component id="jLChoixPro" min="-2" max="-2" attributes="0"/>
 | 
					              <Component id="jLChoixPro" min="-2" max="-2" attributes="0"/>
 | 
				
			||||||
              <EmptySpace pref="69" max="32767" attributes="0"/>
 | 
					              <EmptySpace pref="46" max="32767" attributes="0"/>
 | 
				
			||||||
              <Component id="jLabel2" min="-2" max="-2" attributes="0"/>
 | 
					              <Component id="jLLogo" min="-2" pref="73" max="-2" attributes="0"/>
 | 
				
			||||||
              <EmptySpace max="-2" attributes="0"/>
 | 
					              <EmptySpace max="-2" attributes="0"/>
 | 
				
			||||||
          </Group>
 | 
					          </Group>
 | 
				
			||||||
          <Group type="102" alignment="1" attributes="0">
 | 
					          <Group type="102" alignment="1" attributes="0">
 | 
				
			||||||
@@ -56,18 +56,23 @@
 | 
				
			|||||||
    <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">
 | 
					          <Group type="102" alignment="0" attributes="0">
 | 
				
			||||||
              <EmptySpace max="-2" attributes="0"/>
 | 
					              <Group type="103" groupAlignment="0" attributes="0">
 | 
				
			||||||
              <Group type="103" groupAlignment="1" attributes="0">
 | 
					                  <Group type="102" attributes="0">
 | 
				
			||||||
 | 
					                      <EmptySpace min="-2" pref="25" max="-2" attributes="0"/>
 | 
				
			||||||
                      <Component id="jLChoixPro" min="-2" max="-2" attributes="0"/>
 | 
					                      <Component id="jLChoixPro" min="-2" max="-2" attributes="0"/>
 | 
				
			||||||
                  <Component id="jLabel2" min="-2" pref="38" max="-2" attributes="0"/>
 | 
					 | 
				
			||||||
                  </Group>
 | 
					                  </Group>
 | 
				
			||||||
              <EmptySpace min="-2" pref="59" max="-2" attributes="0"/>
 | 
					                  <Group type="102" alignment="0" attributes="0">
 | 
				
			||||||
 | 
					                      <EmptySpace max="-2" attributes="0"/>
 | 
				
			||||||
 | 
					                      <Component id="jLLogo" min="-2" pref="52" max="-2" attributes="0"/>
 | 
				
			||||||
 | 
					                  </Group>
 | 
				
			||||||
 | 
					              </Group>
 | 
				
			||||||
 | 
					              <EmptySpace min="-2" pref="42" max="-2" attributes="0"/>
 | 
				
			||||||
              <Component id="jBpraticien" min="-2" pref="31" max="-2" attributes="0"/>
 | 
					              <Component id="jBpraticien" min="-2" pref="31" max="-2" attributes="0"/>
 | 
				
			||||||
              <EmptySpace min="-2" pref="29" max="-2" attributes="0"/>
 | 
					              <EmptySpace min="-2" pref="29" max="-2" attributes="0"/>
 | 
				
			||||||
              <Component id="jBvisiteurMedical" min="-2" pref="31" max="-2" attributes="0"/>
 | 
					              <Component id="jBvisiteurMedical" min="-2" pref="31" max="-2" attributes="0"/>
 | 
				
			||||||
              <EmptySpace min="-2" pref="26" max="-2" attributes="0"/>
 | 
					              <EmptySpace min="-2" pref="26" max="-2" attributes="0"/>
 | 
				
			||||||
              <Component id="jBquitter" min="-2" max="-2" attributes="0"/>
 | 
					              <Component id="jBquitter" min="-2" max="-2" attributes="0"/>
 | 
				
			||||||
              <EmptySpace pref="57" max="32767" attributes="0"/>
 | 
					              <EmptySpace pref="60" max="32767" attributes="0"/>
 | 
				
			||||||
          </Group>
 | 
					          </Group>
 | 
				
			||||||
      </Group>
 | 
					      </Group>
 | 
				
			||||||
    </DimensionLayout>
 | 
					    </DimensionLayout>
 | 
				
			||||||
@@ -102,7 +107,7 @@
 | 
				
			|||||||
        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jBquitterActionPerformed"/>
 | 
					        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jBquitterActionPerformed"/>
 | 
				
			||||||
      </Events>
 | 
					      </Events>
 | 
				
			||||||
    </Component>
 | 
					    </Component>
 | 
				
			||||||
    <Component class="javax.swing.JLabel" name="jLabel2">
 | 
					    <Component class="javax.swing.JLabel" name="jLLogo">
 | 
				
			||||||
      <Properties>
 | 
					      <Properties>
 | 
				
			||||||
        <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
 | 
					        <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
 | 
				
			||||||
          <Image iconType="3" name="/img/logodetoure.gif"/>
 | 
					          <Image iconType="3" name="/img/logodetoure.gif"/>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -30,7 +30,7 @@ public class jffProfession extends javax.swing.JFrame {
 | 
				
			|||||||
        jBpraticien = new javax.swing.JButton();
 | 
					        jBpraticien = new javax.swing.JButton();
 | 
				
			||||||
        jBvisiteurMedical = new javax.swing.JButton();
 | 
					        jBvisiteurMedical = new javax.swing.JButton();
 | 
				
			||||||
        jBquitter = new javax.swing.JButton();
 | 
					        jBquitter = new javax.swing.JButton();
 | 
				
			||||||
        jLabel2 = new javax.swing.JLabel();
 | 
					        jLLogo = 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));
 | 
					        setBackground(new java.awt.Color(255, 102, 153));
 | 
				
			||||||
@@ -54,7 +54,7 @@ public class jffProfession extends javax.swing.JFrame {
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        jLabel2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/logodetoure.gif"))); // NOI18N
 | 
					        jLLogo.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);
 | 
				
			||||||
@@ -67,8 +67,8 @@ public class jffProfession extends javax.swing.JFrame {
 | 
				
			|||||||
            .addGroup(layout.createSequentialGroup()
 | 
					            .addGroup(layout.createSequentialGroup()
 | 
				
			||||||
                .addGap(137, 137, 137)
 | 
					                .addGap(137, 137, 137)
 | 
				
			||||||
                .addComponent(jLChoixPro)
 | 
					                .addComponent(jLChoixPro)
 | 
				
			||||||
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 69, Short.MAX_VALUE)
 | 
					                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 46, Short.MAX_VALUE)
 | 
				
			||||||
                .addComponent(jLabel2)
 | 
					                .addComponent(jLLogo, javax.swing.GroupLayout.PREFERRED_SIZE, 73, javax.swing.GroupLayout.PREFERRED_SIZE)
 | 
				
			||||||
                .addContainerGap())
 | 
					                .addContainerGap())
 | 
				
			||||||
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
 | 
					            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
 | 
				
			||||||
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
 | 
					                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
 | 
				
			||||||
@@ -82,18 +82,21 @@ public class jffProfession extends javax.swing.JFrame {
 | 
				
			|||||||
        );
 | 
					        );
 | 
				
			||||||
        layout.setVerticalGroup(
 | 
					        layout.setVerticalGroup(
 | 
				
			||||||
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
 | 
					            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
 | 
				
			||||||
 | 
					            .addGroup(layout.createSequentialGroup()
 | 
				
			||||||
 | 
					                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
 | 
				
			||||||
 | 
					                    .addGroup(layout.createSequentialGroup()
 | 
				
			||||||
 | 
					                        .addGap(25, 25, 25)
 | 
				
			||||||
 | 
					                        .addComponent(jLChoixPro))
 | 
				
			||||||
                    .addGroup(layout.createSequentialGroup()
 | 
					                    .addGroup(layout.createSequentialGroup()
 | 
				
			||||||
                        .addContainerGap()
 | 
					                        .addContainerGap()
 | 
				
			||||||
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
 | 
					                        .addComponent(jLLogo, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE)))
 | 
				
			||||||
                    .addComponent(jLChoixPro)
 | 
					                .addGap(42, 42, 42)
 | 
				
			||||||
                    .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)
 | 
					                .addComponent(jBpraticien, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE)
 | 
				
			||||||
                .addGap(29, 29, 29)
 | 
					                .addGap(29, 29, 29)
 | 
				
			||||||
                .addComponent(jBvisiteurMedical, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE)
 | 
					                .addComponent(jBvisiteurMedical, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE)
 | 
				
			||||||
                .addGap(26, 26, 26)
 | 
					                .addGap(26, 26, 26)
 | 
				
			||||||
                .addComponent(jBquitter)
 | 
					                .addComponent(jBquitter)
 | 
				
			||||||
                .addContainerGap(57, Short.MAX_VALUE))
 | 
					                .addContainerGap(60, Short.MAX_VALUE))
 | 
				
			||||||
        );
 | 
					        );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        pack();
 | 
					        pack();
 | 
				
			||||||
@@ -147,6 +150,6 @@ public class jffProfession extends javax.swing.JFrame {
 | 
				
			|||||||
    private javax.swing.JButton jBquitter;
 | 
					    private javax.swing.JButton jBquitter;
 | 
				
			||||||
    private javax.swing.JButton jBvisiteurMedical;
 | 
					    private javax.swing.JButton jBvisiteurMedical;
 | 
				
			||||||
    private javax.swing.JLabel jLChoixPro;
 | 
					    private javax.swing.JLabel jLChoixPro;
 | 
				
			||||||
    private javax.swing.JLabel jLabel2;
 | 
					    private javax.swing.JLabel jLLogo;
 | 
				
			||||||
    // End of variables declaration//GEN-END:variables
 | 
					    // End of variables declaration//GEN-END:variables
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user