Compare commits
3 Commits
ffef8fc4c8
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
344f5b926d | ||
| 90a493e3c6 | |||
| d1402ea3df |
@@ -26,7 +26,7 @@ public class Medicament {
|
||||
|
||||
|
||||
/** LE CONSTRUCTEUR DEFAULT
|
||||
*
|
||||
* Constructeur de m<>dicament avec tous les attribut d<>finis
|
||||
* @param id
|
||||
* @param nom
|
||||
* @param composition
|
||||
@@ -52,6 +52,7 @@ public class Medicament {
|
||||
}
|
||||
|
||||
/**
|
||||
* Getteur du nom du m<>dicament
|
||||
* @return the nom
|
||||
*/
|
||||
public String getNom() {
|
||||
@@ -59,6 +60,7 @@ public class Medicament {
|
||||
}
|
||||
|
||||
/**
|
||||
* Getteur de la Composition du m<>dicament
|
||||
* @return the composition
|
||||
*/
|
||||
public String getComposition() {
|
||||
@@ -66,6 +68,7 @@ public class Medicament {
|
||||
}
|
||||
|
||||
/**
|
||||
* Guetteur des effets de m<>dicament
|
||||
* @return the effet
|
||||
*/
|
||||
public String getEffet() {
|
||||
@@ -73,16 +76,25 @@ public class Medicament {
|
||||
}
|
||||
|
||||
/**
|
||||
* Guetteur des contres Indications du m<>dicament
|
||||
* @return the contreindication
|
||||
*/
|
||||
public String getContreindication() {
|
||||
return contreindication;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getteur de l'adresse de l'image du m<>dicament
|
||||
* @return the img
|
||||
*/
|
||||
public String getImg() {
|
||||
return img;
|
||||
}
|
||||
|
||||
/**
|
||||
* M<>thode toString permettant connaitre la valeur
|
||||
* de chaque attribut de l'objet M<>dicament
|
||||
* @return retourne de fa<66>on structur<75> tout les attributs
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Medicament{" + "id=" + id + ", nom=" + nom + ", composition=" + composition + ", effet=" + effet + ", contreindication=" + contreindication + ",img=" + img + '}';
|
||||
|
||||
@@ -22,14 +22,21 @@ public class famille {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
// LES SETTEUR
|
||||
// LES Guetteurs
|
||||
/**
|
||||
* Getteur de l'id de la famille
|
||||
* @return the id
|
||||
*/
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
// M<>thodes
|
||||
/**
|
||||
* M<>thode toString permettant connaitre la valeur
|
||||
* de chaque attribut de l'objet famille
|
||||
* @return retourne de fa<66>on structur<75> tout les attributs
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
return "famille{" + "id=" + id + '}';
|
||||
|
||||
@@ -22,7 +22,7 @@ public class praticien {
|
||||
|
||||
|
||||
/** LE CONSTRUCTEUR DEFAULT
|
||||
*
|
||||
* Constructeur de praticien compl<70>tant chaque attributs
|
||||
* @param id
|
||||
* @param nom
|
||||
* @param prenom
|
||||
@@ -38,6 +38,7 @@ public class praticien {
|
||||
|
||||
//LES GETTEUR
|
||||
/**
|
||||
* Guetteur de l'id du praticien
|
||||
* @return the id
|
||||
*/
|
||||
public int getId() {
|
||||
@@ -45,6 +46,7 @@ public class praticien {
|
||||
}
|
||||
|
||||
/**
|
||||
* Guetteur du nom du praticien
|
||||
* @return the nom
|
||||
*/
|
||||
public String getNom() {
|
||||
@@ -52,6 +54,7 @@ public class praticien {
|
||||
}
|
||||
|
||||
/**
|
||||
* Guetteur du pr<70>nom du praticien
|
||||
* @return the prenom
|
||||
*/
|
||||
public String getPrenom() {
|
||||
@@ -59,13 +62,18 @@ public class praticien {
|
||||
}
|
||||
|
||||
/**
|
||||
* Guetteur du type de praticien
|
||||
* @return the type_praticien
|
||||
*/
|
||||
public String getType_praticien() {
|
||||
return type_praticien;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* M<>thode toString permettant connaitre la valeur
|
||||
* de chaque attribut de l'objet praticien
|
||||
* @return retourne de fa<66>on structur<75> tout les attributs
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Praticien{" + "id=" + id + ", nom=" + nom + ", prenom=" + prenom + ", type_praticien=" + type_praticien + '}';
|
||||
|
||||
@@ -21,8 +21,7 @@ public class visiteur_medicaux {
|
||||
private String region;
|
||||
|
||||
/** LE CONSTRUCTEUR DEFAULT
|
||||
*
|
||||
*
|
||||
* Constructeur de visiteur_m<5F>dicaux compl<70>tant chaque attributs
|
||||
* @param id
|
||||
* @param nom
|
||||
* @param prenom
|
||||
@@ -38,6 +37,7 @@ public class visiteur_medicaux {
|
||||
|
||||
//LES GETTEUR
|
||||
/**
|
||||
* Guetteur de l'id du visiteur m<>dical
|
||||
* @return the id
|
||||
*/
|
||||
public int getId() {
|
||||
@@ -45,6 +45,7 @@ public class visiteur_medicaux {
|
||||
}
|
||||
|
||||
/**
|
||||
* Guetteur du nom du visiteur m<>dical
|
||||
* @return the nom
|
||||
*/
|
||||
public String getNom() {
|
||||
@@ -52,17 +53,11 @@ public class visiteur_medicaux {
|
||||
}
|
||||
|
||||
/**
|
||||
* Guetteur du pr<70>nom du visiteur m<>dical
|
||||
* @return the prenom
|
||||
*/
|
||||
public String getPrenom() {
|
||||
return prenom;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the region
|
||||
*/
|
||||
public String getRegion() {
|
||||
return region;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -18,10 +18,19 @@ public class MedicamentSQL {
|
||||
private Statement stmt = null;
|
||||
private ResultSet result = null;
|
||||
|
||||
/**
|
||||
* Constructeur de la classe m<>dicamentSQL
|
||||
*/
|
||||
public MedicamentSQL() {
|
||||
connexionTest = connexionSQL.getConnect("10.121.38.69","bdgsb","appliGSB","(Uq1XV0Tr01s2H9Z");
|
||||
}
|
||||
|
||||
/**
|
||||
* M<>thode permettant la recherche d'un m<>dicament dans une base donn<6E>es
|
||||
* suivant le nom commercial de celui-ci
|
||||
* @param nomCo
|
||||
* @return ArrayList<String> infoMedoc avec toutes les informations du m<>dicament
|
||||
*/
|
||||
public ArrayList<String> rechercherMedicament (String nomCo){
|
||||
ArrayList<String> infoMedoc = new ArrayList<String>();
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ public class connexionSQL {
|
||||
private static Connection connect; // Variable de connexion
|
||||
|
||||
/**
|
||||
* Constructeur
|
||||
* Constructeur d'une connexion avec une base de donn<6E>es
|
||||
* @param serveur nom du serveur, localhost si local
|
||||
* @param bdd nom de la base de donn<6E>es
|
||||
* @param nomUtil nom utilisateur
|
||||
|
||||
@@ -20,6 +20,9 @@ public class familleMedocSQL {
|
||||
private Statement stmt = null;
|
||||
private ResultSet result = null;
|
||||
|
||||
/**
|
||||
* Constructeur de la classe familleMedocSQL
|
||||
*/
|
||||
public familleMedocSQL(){
|
||||
connexionTest = connexionSQL.getConnect("10.121.38.69","bdgsb","appliGSB","(Uq1XV0Tr01s2H9Z");
|
||||
}
|
||||
@@ -44,6 +47,12 @@ public class familleMedocSQL {
|
||||
return famille;
|
||||
}
|
||||
|
||||
/**
|
||||
* M<>thode permettant la recherche d'un code de famille de m<>dicament
|
||||
* <20> l'aide d'un libelle
|
||||
* @param libelle nom de la famille de m<>dicament
|
||||
* @return code de la famille de m<>dicament
|
||||
*/
|
||||
public String rechercheCodeFamille(String libelle){
|
||||
String code = "";
|
||||
try {
|
||||
@@ -63,6 +72,12 @@ public class familleMedocSQL {
|
||||
return code;
|
||||
}
|
||||
|
||||
/**
|
||||
* Methode permettant de rechercher dans une base de donn<6E>es
|
||||
* les m<>dicaments faisant partie de la m<>me famille gr<67>ce <20> un code de famille
|
||||
* @param libelle
|
||||
* @return Tableau avec tous les noms des m<>dicaments concern<72>s
|
||||
*/
|
||||
public Vector<String> rechercherMedocFamille(String libelle){
|
||||
Vector<String> famille = new Vector<String>();
|
||||
try {
|
||||
|
||||
@@ -20,10 +20,18 @@ public class observationSQL {
|
||||
private Statement stmt = null;
|
||||
private ResultSet result = null;
|
||||
|
||||
/**
|
||||
* Constructeur de observationSQL
|
||||
*/
|
||||
public observationSQL() {
|
||||
connexionTest = connexionSQL.getConnect("10.121.38.69","bdgsb","appliGSB","(Uq1XV0Tr01s2H9Z");
|
||||
}
|
||||
|
||||
/**
|
||||
* M<>thode permettant de compter le nombre d'observations
|
||||
* pr<70>sente dans la Table observation
|
||||
* @return nombre de lignes
|
||||
*/
|
||||
public int compterLignes(){
|
||||
int nbLignes = 0;
|
||||
try {
|
||||
@@ -43,7 +51,13 @@ public class observationSQL {
|
||||
return nbLignes;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* M<>thode permattant d'inserer dans la base de donn<6E>es une nouvelle observation
|
||||
* @param idMedoc
|
||||
* @param idPraticien
|
||||
* @param observation
|
||||
* @return int
|
||||
*/
|
||||
public int ajouterObservation(String idMedoc, int idPraticien, String observation){
|
||||
int passer = 1000;
|
||||
int nbLignes = this.compterLignes();
|
||||
@@ -63,6 +77,11 @@ public class observationSQL {
|
||||
return passer;
|
||||
}
|
||||
|
||||
/**
|
||||
* M<>thode permettant de s<>lectionner les observations se rapportant au m<>dicament s<>lectionn<6E>
|
||||
* @param idMedoc
|
||||
* @return Tableau des diff<66>rentes observations
|
||||
*/
|
||||
public ArrayList<String> selectionObservation(String idMedoc){
|
||||
ArrayList<String> observationMedoc = new ArrayList<String>();
|
||||
try {
|
||||
|
||||
@@ -19,11 +19,20 @@ public class praticienSQL {
|
||||
private Statement stmt = null;
|
||||
private ResultSet result = null;
|
||||
|
||||
public praticienSQL() {
|
||||
/**
|
||||
* Constructeur de praticienSQL
|
||||
*/
|
||||
public praticienSQL() {
|
||||
connexionTest = connexionSQL.getConnect("10.121.38.69","bdgsb","appliGSB","(Uq1XV0Tr01s2H9Z");
|
||||
}
|
||||
|
||||
public ArrayList<String> rechercherPraticien(String login, String mdp) {
|
||||
|
||||
/**
|
||||
* M<>thode permattant de rechercher un praticien dans une base de donn<6E>es
|
||||
* @param login
|
||||
* @param mdp
|
||||
* @return Tableau avec les informations du praticien
|
||||
*/
|
||||
public ArrayList<String> rechercherPraticien(String login, String mdp) {
|
||||
ArrayList<String> praticienCherche = new ArrayList<String>();
|
||||
try {
|
||||
stmt = connexionTest.createStatement();
|
||||
|
||||
@@ -19,7 +19,10 @@ public class visiteurSQL {
|
||||
private Statement stmt = null;
|
||||
private ResultSet result = null;
|
||||
|
||||
public visiteurSQL() {
|
||||
/**
|
||||
* Constructeur de visiteurSQL
|
||||
*/
|
||||
public visiteurSQL() {
|
||||
connexionTest = connexionSQL.getConnect("10.121.38.69","bdgsb","appliGSB","(Uq1XV0Tr01s2H9Z");
|
||||
}
|
||||
|
||||
|
||||
@@ -91,7 +91,7 @@
|
||||
<Layout>
|
||||
<DimensionLayout dim="0">
|
||||
<Group type="103" groupAlignment="0" attributes="0">
|
||||
<Group type="102" attributes="0">
|
||||
<Group type="102" alignment="0" attributes="0">
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
<Component id="jPFond" max="32767" attributes="0"/>
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
@@ -115,58 +115,60 @@
|
||||
<DimensionLayout dim="0">
|
||||
<Group type="103" groupAlignment="0" attributes="0">
|
||||
<Group type="102" attributes="0">
|
||||
<Group type="103" groupAlignment="0" attributes="0">
|
||||
<Component id="jSeparator1" alignment="1" max="32767" attributes="0"/>
|
||||
<Group type="102" alignment="0" attributes="0">
|
||||
<Group type="103" groupAlignment="0" attributes="0">
|
||||
<Group type="102" alignment="0" attributes="0">
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
<Group type="103" groupAlignment="1" attributes="0">
|
||||
<Group type="102" alignment="1" attributes="0">
|
||||
<Component id="jLContrindication" max="32767" attributes="0"/>
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
<Component id="jLEffet" min="-2" pref="166" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
<Group type="102" alignment="1" attributes="0">
|
||||
<Group type="103" groupAlignment="0" attributes="0">
|
||||
<Group type="102" alignment="1" attributes="0">
|
||||
<Component id="jLComposition" min="-2" pref="265" max="-2" attributes="0"/>
|
||||
<EmptySpace min="-2" pref="140" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
<Group type="102" alignment="0" attributes="0">
|
||||
<EmptySpace min="-2" pref="183" max="-2" attributes="0"/>
|
||||
<Component id="jLNomCo" min="-2" pref="144" max="-2" attributes="0"/>
|
||||
<EmptySpace min="-2" pref="78" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
</Group>
|
||||
<Component id="jLImage" min="-2" pref="157" max="-2" attributes="0"/>
|
||||
<EmptySpace min="-2" pref="38" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
</Group>
|
||||
</Group>
|
||||
<Group type="102" alignment="0" attributes="0">
|
||||
<EmptySpace min="-2" pref="168" max="-2" attributes="0"/>
|
||||
<Component id="jLNomMedoc" min="-2" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
</Group>
|
||||
<EmptySpace min="0" pref="163" max="32767" attributes="0"/>
|
||||
</Group>
|
||||
</Group>
|
||||
<Component id="jSeparator1" max="32767" attributes="0"/>
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
</Group>
|
||||
<Group type="102" alignment="0" attributes="0">
|
||||
<Group type="102" attributes="0">
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
<Component id="jPanel1" min="-2" max="-2" attributes="0"/>
|
||||
<EmptySpace max="32767" attributes="0"/>
|
||||
<Group type="103" groupAlignment="0" attributes="0">
|
||||
<Group type="102" attributes="0">
|
||||
<Component id="jLContrindication" max="32767" attributes="0"/>
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
<Component id="jLEffet" min="-2" pref="391" max="-2" attributes="0"/>
|
||||
<EmptySpace max="32767" attributes="0"/>
|
||||
</Group>
|
||||
<Group type="102" attributes="0">
|
||||
<Group type="103" groupAlignment="0" attributes="0">
|
||||
<Component id="jPanel1" alignment="0" min="-2" max="-2" attributes="0"/>
|
||||
<Group type="102" alignment="0" attributes="0">
|
||||
<Group type="103" groupAlignment="0" attributes="0">
|
||||
<Group type="102" alignment="1" attributes="0">
|
||||
<Component id="jLComposition" min="-2" pref="265" max="-2" attributes="0"/>
|
||||
<EmptySpace min="-2" pref="140" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
<Group type="102" alignment="0" attributes="0">
|
||||
<EmptySpace min="-2" pref="183" max="-2" attributes="0"/>
|
||||
<Component id="jLNomCo" min="-2" pref="144" max="-2" attributes="0"/>
|
||||
<EmptySpace min="-2" pref="78" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
</Group>
|
||||
<Component id="jLImage" min="-2" pref="157" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
</Group>
|
||||
<EmptySpace max="32767" attributes="0"/>
|
||||
</Group>
|
||||
</Group>
|
||||
</Group>
|
||||
<Group type="102" alignment="0" attributes="0">
|
||||
<EmptySpace min="-2" pref="168" max="-2" attributes="0"/>
|
||||
<Component id="jLNomMedoc" min="-2" max="-2" attributes="0"/>
|
||||
<EmptySpace pref="300" max="32767" attributes="0"/>
|
||||
<Component id="jLabel1" min="-2" max="-2" attributes="0"/>
|
||||
<EmptySpace min="-2" pref="267" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
</Group>
|
||||
</DimensionLayout>
|
||||
<DimensionLayout dim="1">
|
||||
<Group type="103" groupAlignment="0" attributes="0">
|
||||
<Group type="102" alignment="0" attributes="0">
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
<Component id="jLNomMedoc" min="-2" max="-2" attributes="0"/>
|
||||
<EmptySpace min="-2" pref="35" max="-2" attributes="0"/>
|
||||
<Group type="103" groupAlignment="0" attributes="0">
|
||||
<Group type="102" attributes="0">
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
<Component id="jLNomMedoc" min="-2" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
<Component id="jLabel1" alignment="0" min="-2" pref="42" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
<EmptySpace min="-2" pref="25" max="-2" attributes="0"/>
|
||||
<Group type="103" groupAlignment="0" attributes="0">
|
||||
<Group type="102" alignment="0" attributes="0">
|
||||
<Component id="jLNomCo" min="-2" pref="37" max="-2" attributes="0"/>
|
||||
@@ -174,12 +176,15 @@
|
||||
<Component id="jLComposition" min="-2" pref="74" max="-2" attributes="0"/>
|
||||
<EmptySpace max="32767" attributes="0"/>
|
||||
<Group type="103" groupAlignment="0" attributes="0">
|
||||
<Group type="102" alignment="0" attributes="0">
|
||||
<Group type="102" attributes="0">
|
||||
<Component id="jLContrindication" min="-2" pref="141" max="-2" attributes="0"/>
|
||||
<EmptySpace max="32767" attributes="0"/>
|
||||
<Component id="jSeparator1" min="-2" pref="10" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
<Component id="jLEffet" alignment="0" min="-2" pref="131" max="-2" attributes="0"/>
|
||||
<Group type="102" attributes="0">
|
||||
<Component id="jLEffet" min="-2" pref="131" max="-2" attributes="0"/>
|
||||
<EmptySpace min="0" pref="0" max="32767" attributes="0"/>
|
||||
</Group>
|
||||
</Group>
|
||||
</Group>
|
||||
<Component id="jLImage" alignment="0" min="-2" pref="172" max="-2" attributes="0"/>
|
||||
@@ -264,6 +269,13 @@
|
||||
</Component>
|
||||
</SubComponents>
|
||||
</Container>
|
||||
<Component class="javax.swing.JLabel" name="jLabel1">
|
||||
<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>
|
||||
</Container>
|
||||
</SubComponents>
|
||||
|
||||
@@ -65,6 +65,7 @@ public class jffInfoMedoc extends javax.swing.JFrame {
|
||||
jBsuivant = new javax.swing.JButton();
|
||||
jBprecedent = new javax.swing.JButton();
|
||||
jLObservation = new javax.swing.JLabel();
|
||||
jLabel1 = new javax.swing.JLabel();
|
||||
jMenuBar1 = new javax.swing.JMenuBar();
|
||||
jMPage = new javax.swing.JMenu();
|
||||
jMIProfession = new javax.swing.JMenuItem();
|
||||
@@ -113,49 +114,53 @@ public class jffInfoMedoc extends javax.swing.JFrame {
|
||||
.addContainerGap(19, Short.MAX_VALUE))
|
||||
);
|
||||
|
||||
jLabel1.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()
|
||||
.addGroup(jPFondLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||
.addComponent(jSeparator1, javax.swing.GroupLayout.Alignment.TRAILING)
|
||||
.addGroup(jPFondLayout.createSequentialGroup()
|
||||
.addGroup(jPFondLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||
.addGroup(jPFondLayout.createSequentialGroup()
|
||||
.addContainerGap()
|
||||
.addGroup(jPFondLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
|
||||
.addGroup(jPFondLayout.createSequentialGroup()
|
||||
.addComponent(jLContrindication, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||
.addComponent(jLEffet, javax.swing.GroupLayout.PREFERRED_SIZE, 166, javax.swing.GroupLayout.PREFERRED_SIZE))
|
||||
.addGroup(jPFondLayout.createSequentialGroup()
|
||||
.addGroup(jPFondLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPFondLayout.createSequentialGroup()
|
||||
.addComponent(jLComposition, javax.swing.GroupLayout.PREFERRED_SIZE, 265, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||
.addGap(140, 140, 140))
|
||||
.addGroup(jPFondLayout.createSequentialGroup()
|
||||
.addGap(183, 183, 183)
|
||||
.addComponent(jLNomCo, javax.swing.GroupLayout.PREFERRED_SIZE, 144, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||
.addGap(78, 78, 78)))
|
||||
.addComponent(jLImage, javax.swing.GroupLayout.PREFERRED_SIZE, 157, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||
.addGap(38, 38, 38))))
|
||||
.addGroup(jPFondLayout.createSequentialGroup()
|
||||
.addGap(168, 168, 168)
|
||||
.addComponent(jLNomMedoc)))
|
||||
.addGap(0, 163, Short.MAX_VALUE)))
|
||||
.addComponent(jSeparator1)
|
||||
.addContainerGap())
|
||||
.addGroup(jPFondLayout.createSequentialGroup()
|
||||
.addContainerGap()
|
||||
.addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
|
||||
.addGroup(jPFondLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||
.addGroup(jPFondLayout.createSequentialGroup()
|
||||
.addComponent(jLContrindication, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||
.addComponent(jLEffet, javax.swing.GroupLayout.PREFERRED_SIZE, 391, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
|
||||
.addGroup(jPFondLayout.createSequentialGroup()
|
||||
.addGroup(jPFondLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||
.addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||
.addGroup(jPFondLayout.createSequentialGroup()
|
||||
.addGroup(jPFondLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPFondLayout.createSequentialGroup()
|
||||
.addComponent(jLComposition, javax.swing.GroupLayout.PREFERRED_SIZE, 265, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||
.addGap(140, 140, 140))
|
||||
.addGroup(jPFondLayout.createSequentialGroup()
|
||||
.addGap(183, 183, 183)
|
||||
.addComponent(jLNomCo, javax.swing.GroupLayout.PREFERRED_SIZE, 144, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||
.addGap(78, 78, 78)))
|
||||
.addComponent(jLImage, javax.swing.GroupLayout.PREFERRED_SIZE, 157, javax.swing.GroupLayout.PREFERRED_SIZE)))
|
||||
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))
|
||||
.addGroup(jPFondLayout.createSequentialGroup()
|
||||
.addGap(168, 168, 168)
|
||||
.addComponent(jLNomMedoc)
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 300, Short.MAX_VALUE)
|
||||
.addComponent(jLabel1)
|
||||
.addGap(267, 267, 267))
|
||||
);
|
||||
jPFondLayout.setVerticalGroup(
|
||||
jPFondLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||
.addGroup(jPFondLayout.createSequentialGroup()
|
||||
.addContainerGap()
|
||||
.addComponent(jLNomMedoc)
|
||||
.addGap(35, 35, 35)
|
||||
.addGroup(jPFondLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||
.addGroup(jPFondLayout.createSequentialGroup()
|
||||
.addContainerGap()
|
||||
.addComponent(jLNomMedoc))
|
||||
.addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE))
|
||||
.addGap(25, 25, 25)
|
||||
.addGroup(jPFondLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||
.addGroup(jPFondLayout.createSequentialGroup()
|
||||
.addComponent(jLNomCo, javax.swing.GroupLayout.PREFERRED_SIZE, 37, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||
@@ -167,7 +172,9 @@ public class jffInfoMedoc extends javax.swing.JFrame {
|
||||
.addComponent(jLContrindication, javax.swing.GroupLayout.PREFERRED_SIZE, 141, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
||||
.addComponent(jSeparator1, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE))
|
||||
.addComponent(jLEffet, javax.swing.GroupLayout.PREFERRED_SIZE, 131, javax.swing.GroupLayout.PREFERRED_SIZE)))
|
||||
.addGroup(jPFondLayout.createSequentialGroup()
|
||||
.addComponent(jLEffet, javax.swing.GroupLayout.PREFERRED_SIZE, 131, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||
.addGap(0, 0, Short.MAX_VALUE))))
|
||||
.addComponent(jLImage, javax.swing.GroupLayout.PREFERRED_SIZE, 172, javax.swing.GroupLayout.PREFERRED_SIZE))
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||
.addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||
@@ -315,6 +322,7 @@ public class jffInfoMedoc extends javax.swing.JFrame {
|
||||
private javax.swing.JLabel jLNomCo;
|
||||
private javax.swing.JLabel jLNomMedoc;
|
||||
private javax.swing.JLabel jLObservation;
|
||||
private javax.swing.JLabel jLabel1;
|
||||
private javax.swing.JMenuItem jMIFamille;
|
||||
private javax.swing.JMenuItem jMIObservation;
|
||||
private javax.swing.JMenuItem jMIProfession;
|
||||
|
||||
Reference in New Issue
Block a user