Interface jffConnexion et jffProfession
This commit is contained in:
		@@ -71,7 +71,7 @@ jlink.additionalmodules=
 | 
				
			|||||||
jlink.additionalparam=
 | 
					jlink.additionalparam=
 | 
				
			||||||
jlink.launcher=true
 | 
					jlink.launcher=true
 | 
				
			||||||
jlink.launcher.name=GSBapplication
 | 
					jlink.launcher.name=GSBapplication
 | 
				
			||||||
main.class=gsbapplication.GSBapplication
 | 
					main.class=presentation.jffProfession
 | 
				
			||||||
manifest.file=manifest.mf
 | 
					manifest.file=manifest.mf
 | 
				
			||||||
meta.inf.dir=${src.dir}/META-INF
 | 
					meta.inf.dir=${src.dir}/META-INF
 | 
				
			||||||
mkdist.disabled=false
 | 
					mkdist.disabled=false
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,19 +0,0 @@
 | 
				
			|||||||
 | 
					 | 
				
			||||||
package gsbapplication;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
/**
 | 
					 | 
				
			||||||
 * @author emile malcuit
 | 
					 | 
				
			||||||
 * @version 1
 | 
					 | 
				
			||||||
 */
 | 
					 | 
				
			||||||
public class GSBapplication {
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    /**
 | 
					 | 
				
			||||||
     * @param args the command line arguments
 | 
					 | 
				
			||||||
     */
 | 
					 | 
				
			||||||
    public static void main(String[] args) {
 | 
					 | 
				
			||||||
        // TODO code application logic here
 | 
					 | 
				
			||||||
        System.out.print("3bonjour");
 | 
					 | 
				
			||||||
        System.out.print("3bonjour");
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
							
								
								
									
										
											BIN
										
									
								
								GSBapplication/src/img/logodetoure.gif
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								GSBapplication/src/img/logodetoure.gif
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 1.8 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								GSBapplication/src/img/valider.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								GSBapplication/src/img/valider.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 537 B  | 
@@ -23,13 +23,101 @@
 | 
				
			|||||||
  <Layout>
 | 
					  <Layout>
 | 
				
			||||||
    <DimensionLayout dim="0">
 | 
					    <DimensionLayout dim="0">
 | 
				
			||||||
      <Group type="103" groupAlignment="0" attributes="0">
 | 
					      <Group type="103" groupAlignment="0" attributes="0">
 | 
				
			||||||
          <EmptySpace min="0" pref="400" max="32767" attributes="0"/>
 | 
					          <Group type="102" alignment="0" attributes="0">
 | 
				
			||||||
 | 
					              <EmptySpace min="-2" pref="111" max="-2" attributes="0"/>
 | 
				
			||||||
 | 
					              <Group type="103" groupAlignment="0" attributes="0">
 | 
				
			||||||
 | 
					                  <Group type="102" attributes="0">
 | 
				
			||||||
 | 
					                      <Component id="jBquitter" min="-2" max="-2" attributes="0"/>
 | 
				
			||||||
 | 
					                      <EmptySpace type="unrelated" max="-2" attributes="0"/>
 | 
				
			||||||
 | 
					                      <Component id="jBValider" min="-2" max="-2" attributes="0"/>
 | 
				
			||||||
 | 
					                  </Group>
 | 
				
			||||||
 | 
					                  <Group type="103" groupAlignment="1" max="-2" attributes="0">
 | 
				
			||||||
 | 
					                      <Group type="102" attributes="0">
 | 
				
			||||||
 | 
					                          <Component id="jLIdentifiant" max="32767" attributes="0"/>
 | 
				
			||||||
 | 
					                          <EmptySpace type="separate" max="-2" attributes="0"/>
 | 
				
			||||||
 | 
					                          <Component id="jTFIdentifiant" min="-2" pref="71" max="-2" attributes="0"/>
 | 
				
			||||||
 | 
					                      </Group>
 | 
				
			||||||
 | 
					                      <Component id="jLabel1" min="-2" max="-2" attributes="0"/>
 | 
				
			||||||
 | 
					                  </Group>
 | 
				
			||||||
 | 
					                  <Group type="102" attributes="0">
 | 
				
			||||||
 | 
					                      <Component id="jLmdp" min="-2" pref="86" max="-2" attributes="0"/>
 | 
				
			||||||
 | 
					                      <EmptySpace max="-2" attributes="0"/>
 | 
				
			||||||
 | 
					                      <Component id="jPFmdp" min="-2" max="-2" attributes="0"/>
 | 
				
			||||||
 | 
					                  </Group>
 | 
				
			||||||
 | 
					              </Group>
 | 
				
			||||||
 | 
					              <EmptySpace pref="102" max="32767" attributes="0"/>
 | 
				
			||||||
 | 
					          </Group>
 | 
				
			||||||
      </Group>
 | 
					      </Group>
 | 
				
			||||||
    </DimensionLayout>
 | 
					    </DimensionLayout>
 | 
				
			||||||
    <DimensionLayout dim="1">
 | 
					    <DimensionLayout dim="1">
 | 
				
			||||||
      <Group type="103" groupAlignment="0" attributes="0">
 | 
					      <Group type="103" groupAlignment="0" attributes="0">
 | 
				
			||||||
          <EmptySpace min="0" pref="300" max="32767" attributes="0"/>
 | 
					          <Group type="102" alignment="0" attributes="0">
 | 
				
			||||||
 | 
					              <EmptySpace min="-2" pref="42" max="-2" attributes="0"/>
 | 
				
			||||||
 | 
					              <Component id="jLabel1" min="-2" max="-2" attributes="0"/>
 | 
				
			||||||
 | 
					              <EmptySpace min="-2" pref="32" max="-2" attributes="0"/>
 | 
				
			||||||
 | 
					              <Group type="103" groupAlignment="3" attributes="0">
 | 
				
			||||||
 | 
					                  <Component id="jTFIdentifiant" alignment="3" min="-2" max="-2" attributes="0"/>
 | 
				
			||||||
 | 
					                  <Component id="jLIdentifiant" alignment="3" min="-2" max="-2" attributes="0"/>
 | 
				
			||||||
 | 
					              </Group>
 | 
				
			||||||
 | 
					              <EmptySpace min="-2" pref="27" max="-2" attributes="0"/>
 | 
				
			||||||
 | 
					              <Group type="103" groupAlignment="3" attributes="0">
 | 
				
			||||||
 | 
					                  <Component id="jPFmdp" alignment="3" min="-2" max="-2" attributes="0"/>
 | 
				
			||||||
 | 
					                  <Component id="jLmdp" alignment="3" min="-2" max="-2" attributes="0"/>
 | 
				
			||||||
 | 
					              </Group>
 | 
				
			||||||
 | 
					              <EmptySpace min="-2" pref="52" max="-2" attributes="0"/>
 | 
				
			||||||
 | 
					              <Group type="103" groupAlignment="3" attributes="0">
 | 
				
			||||||
 | 
					                  <Component id="jBValider" alignment="3" min="-2" max="-2" attributes="0"/>
 | 
				
			||||||
 | 
					                  <Component id="jBquitter" alignment="3" min="-2" max="-2" attributes="0"/>
 | 
				
			||||||
 | 
					              </Group>
 | 
				
			||||||
 | 
					              <EmptySpace pref="64" max="32767" attributes="0"/>
 | 
				
			||||||
 | 
					          </Group>
 | 
				
			||||||
      </Group>
 | 
					      </Group>
 | 
				
			||||||
    </DimensionLayout>
 | 
					    </DimensionLayout>
 | 
				
			||||||
  </Layout>
 | 
					  </Layout>
 | 
				
			||||||
 | 
					  <SubComponents>
 | 
				
			||||||
 | 
					    <Component class="javax.swing.JLabel" name="jLabel1">
 | 
				
			||||||
 | 
					      <Properties>
 | 
				
			||||||
 | 
					        <Property name="text" type="java.lang.String" value="Bonjour veuillez vous identifier"/>
 | 
				
			||||||
 | 
					      </Properties>
 | 
				
			||||||
 | 
					    </Component>
 | 
				
			||||||
 | 
					    <Component class="javax.swing.JTextField" name="jTFIdentifiant">
 | 
				
			||||||
 | 
					      <Properties>
 | 
				
			||||||
 | 
					        <Property name="text" type="java.lang.String" value="jTextField1"/>
 | 
				
			||||||
 | 
					      </Properties>
 | 
				
			||||||
 | 
					      <Events>
 | 
				
			||||||
 | 
					        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jTFIdentifiantActionPerformed"/>
 | 
				
			||||||
 | 
					      </Events>
 | 
				
			||||||
 | 
					    </Component>
 | 
				
			||||||
 | 
					    <Component class="javax.swing.JPasswordField" name="jPFmdp">
 | 
				
			||||||
 | 
					      <Properties>
 | 
				
			||||||
 | 
					        <Property name="text" type="java.lang.String" value="jPasswordField1"/>
 | 
				
			||||||
 | 
					      </Properties>
 | 
				
			||||||
 | 
					    </Component>
 | 
				
			||||||
 | 
					    <Component class="javax.swing.JButton" name="jBValider">
 | 
				
			||||||
 | 
					      <Properties>
 | 
				
			||||||
 | 
					        <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
 | 
				
			||||||
 | 
					          <Image iconType="3" name="/img/valider.png"/>
 | 
				
			||||||
 | 
					        </Property>
 | 
				
			||||||
 | 
					        <Property name="text" type="java.lang.String" value="Valider"/>
 | 
				
			||||||
 | 
					      </Properties>
 | 
				
			||||||
 | 
					    </Component>
 | 
				
			||||||
 | 
					    <Component class="javax.swing.JButton" name="jBquitter">
 | 
				
			||||||
 | 
					      <Properties>
 | 
				
			||||||
 | 
					        <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
 | 
				
			||||||
 | 
					          <Image iconType="3" name="/img/quitter.png"/>
 | 
				
			||||||
 | 
					        </Property>
 | 
				
			||||||
 | 
					        <Property name="text" type="java.lang.String" value="Quitter"/>
 | 
				
			||||||
 | 
					      </Properties>
 | 
				
			||||||
 | 
					    </Component>
 | 
				
			||||||
 | 
					    <Component class="javax.swing.JLabel" name="jLIdentifiant">
 | 
				
			||||||
 | 
					      <Properties>
 | 
				
			||||||
 | 
					        <Property name="text" type="java.lang.String" value="Identifiant"/>
 | 
				
			||||||
 | 
					      </Properties>
 | 
				
			||||||
 | 
					    </Component>
 | 
				
			||||||
 | 
					    <Component class="javax.swing.JLabel" name="jLmdp">
 | 
				
			||||||
 | 
					      <Properties>
 | 
				
			||||||
 | 
					        <Property name="text" type="java.lang.String" value="Mot de passe :"/>
 | 
				
			||||||
 | 
					      </Properties>
 | 
				
			||||||
 | 
					    </Component>
 | 
				
			||||||
 | 
					  </SubComponents>
 | 
				
			||||||
</Form>
 | 
					</Form>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -26,22 +26,87 @@ public class jffConnexion extends javax.swing.JFrame {
 | 
				
			|||||||
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
 | 
					    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
 | 
				
			||||||
    private void initComponents() {
 | 
					    private void initComponents() {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        jLabel1 = new javax.swing.JLabel();
 | 
				
			||||||
 | 
					        jTFIdentifiant = new javax.swing.JTextField();
 | 
				
			||||||
 | 
					        jPFmdp = new javax.swing.JPasswordField();
 | 
				
			||||||
 | 
					        jBValider = new javax.swing.JButton();
 | 
				
			||||||
 | 
					        jBquitter = new javax.swing.JButton();
 | 
				
			||||||
 | 
					        jLIdentifiant = new javax.swing.JLabel();
 | 
				
			||||||
 | 
					        jLmdp = new javax.swing.JLabel();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
 | 
					        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        jLabel1.setText("Bonjour veuillez vous identifier");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        jTFIdentifiant.setText("jTextField1");
 | 
				
			||||||
 | 
					        jTFIdentifiant.addActionListener(new java.awt.event.ActionListener() {
 | 
				
			||||||
 | 
					            public void actionPerformed(java.awt.event.ActionEvent evt) {
 | 
				
			||||||
 | 
					                jTFIdentifiantActionPerformed(evt);
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        jPFmdp.setText("jPasswordField1");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        jBValider.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/valider.png"))); // NOI18N
 | 
				
			||||||
 | 
					        jBValider.setText("Valider");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        jBquitter.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/quitter.png"))); // NOI18N
 | 
				
			||||||
 | 
					        jBquitter.setText("Quitter");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        jLIdentifiant.setText("Identifiant");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        jLmdp.setText("Mot de passe :");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        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)
 | 
				
			||||||
            .addGap(0, 400, Short.MAX_VALUE)
 | 
					            .addGroup(layout.createSequentialGroup()
 | 
				
			||||||
 | 
					                .addGap(111, 111, 111)
 | 
				
			||||||
 | 
					                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
 | 
				
			||||||
 | 
					                    .addGroup(layout.createSequentialGroup()
 | 
				
			||||||
 | 
					                        .addComponent(jBquitter)
 | 
				
			||||||
 | 
					                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
 | 
				
			||||||
 | 
					                        .addComponent(jBValider))
 | 
				
			||||||
 | 
					                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
 | 
				
			||||||
 | 
					                        .addGroup(layout.createSequentialGroup()
 | 
				
			||||||
 | 
					                            .addComponent(jLIdentifiant, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
 | 
				
			||||||
 | 
					                            .addGap(18, 18, 18)
 | 
				
			||||||
 | 
					                            .addComponent(jTFIdentifiant, javax.swing.GroupLayout.PREFERRED_SIZE, 71, javax.swing.GroupLayout.PREFERRED_SIZE))
 | 
				
			||||||
 | 
					                        .addComponent(jLabel1))
 | 
				
			||||||
 | 
					                    .addGroup(layout.createSequentialGroup()
 | 
				
			||||||
 | 
					                        .addComponent(jLmdp, javax.swing.GroupLayout.PREFERRED_SIZE, 86, javax.swing.GroupLayout.PREFERRED_SIZE)
 | 
				
			||||||
 | 
					                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
 | 
				
			||||||
 | 
					                        .addComponent(jPFmdp, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
 | 
				
			||||||
 | 
					                .addContainerGap(102, Short.MAX_VALUE))
 | 
				
			||||||
        );
 | 
					        );
 | 
				
			||||||
        layout.setVerticalGroup(
 | 
					        layout.setVerticalGroup(
 | 
				
			||||||
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
 | 
					            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
 | 
				
			||||||
            .addGap(0, 300, Short.MAX_VALUE)
 | 
					            .addGroup(layout.createSequentialGroup()
 | 
				
			||||||
 | 
					                .addGap(42, 42, 42)
 | 
				
			||||||
 | 
					                .addComponent(jLabel1)
 | 
				
			||||||
 | 
					                .addGap(32, 32, 32)
 | 
				
			||||||
 | 
					                .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(64, Short.MAX_VALUE))
 | 
				
			||||||
        );
 | 
					        );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        pack();
 | 
					        pack();
 | 
				
			||||||
    }// </editor-fold>//GEN-END:initComponents
 | 
					    }// </editor-fold>//GEN-END:initComponents
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    private void jTFIdentifiantActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTFIdentifiantActionPerformed
 | 
				
			||||||
 | 
					        // TODO add your handling code here:
 | 
				
			||||||
 | 
					    }//GEN-LAST:event_jTFIdentifiantActionPerformed
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
     * @param args the command line arguments
 | 
					     * @param args the command line arguments
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
@@ -78,5 +143,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 jBquitter;
 | 
				
			||||||
 | 
					    private javax.swing.JLabel jLIdentifiant;
 | 
				
			||||||
 | 
					    private javax.swing.JLabel jLabel1;
 | 
				
			||||||
 | 
					    private javax.swing.JLabel jLmdp;
 | 
				
			||||||
 | 
					    private javax.swing.JPasswordField jPFmdp;
 | 
				
			||||||
 | 
					    private javax.swing.JTextField jTFIdentifiant;
 | 
				
			||||||
    // End of variables declaration//GEN-END:variables
 | 
					    // End of variables declaration//GEN-END:variables
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -3,6 +3,9 @@
 | 
				
			|||||||
<Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
 | 
					<Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
 | 
				
			||||||
  <Properties>
 | 
					  <Properties>
 | 
				
			||||||
    <Property name="defaultCloseOperation" type="int" value="3"/>
 | 
					    <Property name="defaultCloseOperation" type="int" value="3"/>
 | 
				
			||||||
 | 
					    <Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
 | 
				
			||||||
 | 
					      <Color blue="99" green="66" red="ff" type="rgb"/>
 | 
				
			||||||
 | 
					    </Property>
 | 
				
			||||||
  </Properties>
 | 
					  </Properties>
 | 
				
			||||||
  <SyntheticProperties>
 | 
					  <SyntheticProperties>
 | 
				
			||||||
    <SyntheticProperty name="formSizePolicy" type="int" value="1"/>
 | 
					    <SyntheticProperty name="formSizePolicy" type="int" value="1"/>
 | 
				
			||||||
@@ -25,13 +28,15 @@
 | 
				
			|||||||
      <Group type="103" groupAlignment="0" attributes="0">
 | 
					      <Group type="103" groupAlignment="0" attributes="0">
 | 
				
			||||||
          <Group type="102" alignment="1" attributes="0">
 | 
					          <Group type="102" alignment="1" attributes="0">
 | 
				
			||||||
              <EmptySpace min="0" pref="0" max="32767" attributes="0"/>
 | 
					              <EmptySpace min="0" pref="0" max="32767" attributes="0"/>
 | 
				
			||||||
              <Component id="jButton1" min="-2" pref="94" max="-2" attributes="0"/>
 | 
					              <Component id="jBpraticien" min="-2" pref="94" max="-2" attributes="0"/>
 | 
				
			||||||
              <EmptySpace min="-2" pref="147" max="-2" attributes="0"/>
 | 
					              <EmptySpace min="-2" pref="147" max="-2" attributes="0"/>
 | 
				
			||||||
          </Group>
 | 
					          </Group>
 | 
				
			||||||
          <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="125" max="32767" attributes="0"/>
 | 
					              <EmptySpace pref="46" max="32767" attributes="0"/>
 | 
				
			||||||
 | 
					              <Component id="jLLogo" min="-2" pref="73" 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">
 | 
				
			||||||
              <EmptySpace max="32767" attributes="0"/>
 | 
					              <EmptySpace max="32767" attributes="0"/>
 | 
				
			||||||
@@ -41,7 +46,7 @@
 | 
				
			|||||||
                      <EmptySpace min="-2" pref="149" max="-2" attributes="0"/>
 | 
					                      <EmptySpace min="-2" pref="149" max="-2" attributes="0"/>
 | 
				
			||||||
                  </Group>
 | 
					                  </Group>
 | 
				
			||||||
                  <Group type="102" alignment="1" attributes="0">
 | 
					                  <Group type="102" alignment="1" attributes="0">
 | 
				
			||||||
                      <Component id="jButton2" min="-2" max="-2" attributes="0"/>
 | 
					                      <Component id="jBvisiteurMedical" min="-2" max="-2" attributes="0"/>
 | 
				
			||||||
                      <EmptySpace min="-2" pref="136" max="-2" attributes="0"/>
 | 
					                      <EmptySpace min="-2" pref="136" max="-2" attributes="0"/>
 | 
				
			||||||
                  </Group>
 | 
					                  </Group>
 | 
				
			||||||
              </Group>
 | 
					              </Group>
 | 
				
			||||||
@@ -51,15 +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 min="-2" pref="25" max="-2" attributes="0"/>
 | 
					              <Group type="103" groupAlignment="0" attributes="0">
 | 
				
			||||||
              <Component id="jLChoixPro" min="-2" max="-2" attributes="0"/>
 | 
					                  <Group type="102" attributes="0">
 | 
				
			||||||
              <EmptySpace min="-2" pref="43" max="-2" attributes="0"/>
 | 
					                      <EmptySpace min="-2" pref="25" max="-2" attributes="0"/>
 | 
				
			||||||
              <Component id="jButton1" min="-2" pref="31" max="-2" attributes="0"/>
 | 
					                      <Component id="jLChoixPro" min="-2" max="-2" attributes="0"/>
 | 
				
			||||||
 | 
					                  </Group>
 | 
				
			||||||
 | 
					                  <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"/>
 | 
				
			||||||
              <EmptySpace min="-2" pref="29" max="-2" attributes="0"/>
 | 
					              <EmptySpace min="-2" pref="29" max="-2" attributes="0"/>
 | 
				
			||||||
              <Component id="jButton2" 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="76" max="32767" attributes="0"/>
 | 
					              <EmptySpace pref="60" max="32767" attributes="0"/>
 | 
				
			||||||
          </Group>
 | 
					          </Group>
 | 
				
			||||||
      </Group>
 | 
					      </Group>
 | 
				
			||||||
    </DimensionLayout>
 | 
					    </DimensionLayout>
 | 
				
			||||||
@@ -70,15 +83,15 @@
 | 
				
			|||||||
        <Property name="text" type="java.lang.String" value="Choissiez Votre Profession"/>
 | 
					        <Property name="text" type="java.lang.String" value="Choissiez Votre Profession"/>
 | 
				
			||||||
      </Properties>
 | 
					      </Properties>
 | 
				
			||||||
    </Component>
 | 
					    </Component>
 | 
				
			||||||
    <Component class="javax.swing.JButton" name="jButton1">
 | 
					    <Component class="javax.swing.JButton" name="jBpraticien">
 | 
				
			||||||
      <Properties>
 | 
					      <Properties>
 | 
				
			||||||
        <Property name="text" type="java.lang.String" value="Praticien"/>
 | 
					        <Property name="text" type="java.lang.String" value="Praticien"/>
 | 
				
			||||||
      </Properties>
 | 
					      </Properties>
 | 
				
			||||||
      <Events>
 | 
					      <Events>
 | 
				
			||||||
        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton1ActionPerformed"/>
 | 
					        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jBpraticienActionPerformed"/>
 | 
				
			||||||
      </Events>
 | 
					      </Events>
 | 
				
			||||||
    </Component>
 | 
					    </Component>
 | 
				
			||||||
    <Component class="javax.swing.JButton" name="jButton2">
 | 
					    <Component class="javax.swing.JButton" name="jBvisiteurMedical">
 | 
				
			||||||
      <Properties>
 | 
					      <Properties>
 | 
				
			||||||
        <Property name="text" type="java.lang.String" value="visiteur medical"/>
 | 
					        <Property name="text" type="java.lang.String" value="visiteur medical"/>
 | 
				
			||||||
      </Properties>
 | 
					      </Properties>
 | 
				
			||||||
@@ -90,6 +103,16 @@
 | 
				
			|||||||
        </Property>
 | 
					        </Property>
 | 
				
			||||||
        <Property name="text" type="java.lang.String" value="Quitter"/>
 | 
					        <Property name="text" type="java.lang.String" value="Quitter"/>
 | 
				
			||||||
      </Properties>
 | 
					      </Properties>
 | 
				
			||||||
 | 
					      <Events>
 | 
				
			||||||
 | 
					        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jBquitterActionPerformed"/>
 | 
				
			||||||
 | 
					      </Events>
 | 
				
			||||||
 | 
					    </Component>
 | 
				
			||||||
 | 
					    <Component class="javax.swing.JLabel" name="jLLogo">
 | 
				
			||||||
 | 
					      <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>
 | 
					    </Component>
 | 
				
			||||||
  </SubComponents>
 | 
					  </SubComponents>
 | 
				
			||||||
</Form>
 | 
					</Form>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -27,25 +27,34 @@ public class jffProfession extends javax.swing.JFrame {
 | 
				
			|||||||
    private void initComponents() {
 | 
					    private void initComponents() {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        jLChoixPro = new javax.swing.JLabel();
 | 
					        jLChoixPro = new javax.swing.JLabel();
 | 
				
			||||||
        jButton1 = new javax.swing.JButton();
 | 
					        jBpraticien = new javax.swing.JButton();
 | 
				
			||||||
        jButton2 = new javax.swing.JButton();
 | 
					        jBvisiteurMedical = new javax.swing.JButton();
 | 
				
			||||||
        jBquitter = new javax.swing.JButton();
 | 
					        jBquitter = new javax.swing.JButton();
 | 
				
			||||||
 | 
					        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));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        jLChoixPro.setText("Choissiez Votre Profession");
 | 
					        jLChoixPro.setText("Choissiez Votre Profession");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        jButton1.setText("Praticien");
 | 
					        jBpraticien.setText("Praticien");
 | 
				
			||||||
        jButton1.addActionListener(new java.awt.event.ActionListener() {
 | 
					        jBpraticien.addActionListener(new java.awt.event.ActionListener() {
 | 
				
			||||||
            public void actionPerformed(java.awt.event.ActionEvent evt) {
 | 
					            public void actionPerformed(java.awt.event.ActionEvent evt) {
 | 
				
			||||||
                jButton1ActionPerformed(evt);
 | 
					                jBpraticienActionPerformed(evt);
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        jButton2.setText("visiteur medical");
 | 
					        jBvisiteurMedical.setText("visiteur medical");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        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");
 | 
				
			||||||
 | 
					        jBquitter.addActionListener(new java.awt.event.ActionListener() {
 | 
				
			||||||
 | 
					            public void actionPerformed(java.awt.event.ActionEvent evt) {
 | 
				
			||||||
 | 
					                jBquitterActionPerformed(evt);
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        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);
 | 
				
			||||||
@@ -53,12 +62,14 @@ public class jffProfession extends javax.swing.JFrame {
 | 
				
			|||||||
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
 | 
					            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
 | 
				
			||||||
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
 | 
					            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
 | 
				
			||||||
                .addGap(0, 0, Short.MAX_VALUE)
 | 
					                .addGap(0, 0, Short.MAX_VALUE)
 | 
				
			||||||
                .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 94, javax.swing.GroupLayout.PREFERRED_SIZE)
 | 
					                .addComponent(jBpraticien, javax.swing.GroupLayout.PREFERRED_SIZE, 94, javax.swing.GroupLayout.PREFERRED_SIZE)
 | 
				
			||||||
                .addGap(147, 147, 147))
 | 
					                .addGap(147, 147, 147))
 | 
				
			||||||
            .addGroup(layout.createSequentialGroup()
 | 
					            .addGroup(layout.createSequentialGroup()
 | 
				
			||||||
                .addGap(137, 137, 137)
 | 
					                .addGap(137, 137, 137)
 | 
				
			||||||
                .addComponent(jLChoixPro)
 | 
					                .addComponent(jLChoixPro)
 | 
				
			||||||
                .addContainerGap(125, Short.MAX_VALUE))
 | 
					                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 46, Short.MAX_VALUE)
 | 
				
			||||||
 | 
					                .addComponent(jLLogo, javax.swing.GroupLayout.PREFERRED_SIZE, 73, javax.swing.GroupLayout.PREFERRED_SIZE)
 | 
				
			||||||
 | 
					                .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)
 | 
				
			||||||
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
 | 
					                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
 | 
				
			||||||
@@ -66,29 +77,38 @@ public class jffProfession extends javax.swing.JFrame {
 | 
				
			|||||||
                        .addComponent(jBquitter)
 | 
					                        .addComponent(jBquitter)
 | 
				
			||||||
                        .addGap(149, 149, 149))
 | 
					                        .addGap(149, 149, 149))
 | 
				
			||||||
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
 | 
					                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
 | 
				
			||||||
                        .addComponent(jButton2)
 | 
					                        .addComponent(jBvisiteurMedical)
 | 
				
			||||||
                        .addGap(136, 136, 136))))
 | 
					                        .addGap(136, 136, 136))))
 | 
				
			||||||
        );
 | 
					        );
 | 
				
			||||||
        layout.setVerticalGroup(
 | 
					        layout.setVerticalGroup(
 | 
				
			||||||
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
 | 
					            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
 | 
				
			||||||
            .addGroup(layout.createSequentialGroup()
 | 
					            .addGroup(layout.createSequentialGroup()
 | 
				
			||||||
                .addGap(25, 25, 25)
 | 
					                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
 | 
				
			||||||
                .addComponent(jLChoixPro)
 | 
					                    .addGroup(layout.createSequentialGroup()
 | 
				
			||||||
                .addGap(43, 43, 43)
 | 
					                        .addGap(25, 25, 25)
 | 
				
			||||||
                .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE)
 | 
					                        .addComponent(jLChoixPro))
 | 
				
			||||||
 | 
					                    .addGroup(layout.createSequentialGroup()
 | 
				
			||||||
 | 
					                        .addContainerGap()
 | 
				
			||||||
 | 
					                        .addComponent(jLLogo, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE)))
 | 
				
			||||||
 | 
					                .addGap(42, 42, 42)
 | 
				
			||||||
 | 
					                .addComponent(jBpraticien, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE)
 | 
				
			||||||
                .addGap(29, 29, 29)
 | 
					                .addGap(29, 29, 29)
 | 
				
			||||||
                .addComponent(jButton2, 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(76, Short.MAX_VALUE))
 | 
					                .addContainerGap(60, Short.MAX_VALUE))
 | 
				
			||||||
        );
 | 
					        );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        pack();
 | 
					        pack();
 | 
				
			||||||
    }// </editor-fold>//GEN-END:initComponents
 | 
					    }// </editor-fold>//GEN-END:initComponents
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
 | 
					    private void jBpraticienActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBpraticienActionPerformed
 | 
				
			||||||
        // TODO add your handling code here:
 | 
					        // TODO add your handling code here:
 | 
				
			||||||
    }//GEN-LAST:event_jButton1ActionPerformed
 | 
					    }//GEN-LAST:event_jBpraticienActionPerformed
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    private void jBquitterActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBquitterActionPerformed
 | 
				
			||||||
 | 
					        System.exit(0);
 | 
				
			||||||
 | 
					    }//GEN-LAST:event_jBquitterActionPerformed
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
     * @param args the command line arguments
 | 
					     * @param args the command line arguments
 | 
				
			||||||
@@ -126,9 +146,10 @@ public class jffProfession extends javax.swing.JFrame {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // Variables declaration - do not modify//GEN-BEGIN:variables
 | 
					    // Variables declaration - do not modify//GEN-BEGIN:variables
 | 
				
			||||||
 | 
					    private javax.swing.JButton jBpraticien;
 | 
				
			||||||
    private javax.swing.JButton jBquitter;
 | 
					    private javax.swing.JButton jBquitter;
 | 
				
			||||||
    private javax.swing.JButton jButton1;
 | 
					    private javax.swing.JButton jBvisiteurMedical;
 | 
				
			||||||
    private javax.swing.JButton jButton2;
 | 
					 | 
				
			||||||
    private javax.swing.JLabel jLChoixPro;
 | 
					    private javax.swing.JLabel jLChoixPro;
 | 
				
			||||||
 | 
					    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