début jffProfession #5
							
								
								
									
										
											BIN
										
									
								
								GSBapplication/src/img/quitter.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								GSBapplication/src/img/quitter.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 587 B  | 
@@ -23,13 +23,73 @@
 | 
			
		||||
  <Layout>
 | 
			
		||||
    <DimensionLayout dim="0">
 | 
			
		||||
      <Group type="103" groupAlignment="0" attributes="0">
 | 
			
		||||
          <EmptySpace min="0" pref="400" max="32767" attributes="0"/>
 | 
			
		||||
          <Group type="102" alignment="1" attributes="0">
 | 
			
		||||
              <EmptySpace min="0" pref="0" max="32767" attributes="0"/>
 | 
			
		||||
              <Component id="jButton1" min="-2" pref="94" max="-2" attributes="0"/>
 | 
			
		||||
              <EmptySpace min="-2" pref="147" max="-2" attributes="0"/>
 | 
			
		||||
          </Group>
 | 
			
		||||
          <Group type="102" attributes="0">
 | 
			
		||||
              <EmptySpace min="-2" pref="137" max="-2" attributes="0"/>
 | 
			
		||||
              <Component id="jLChoixPro" min="-2" max="-2" attributes="0"/>
 | 
			
		||||
              <EmptySpace pref="125" max="32767" attributes="0"/>
 | 
			
		||||
          </Group>
 | 
			
		||||
          <Group type="102" alignment="1" attributes="0">
 | 
			
		||||
              <EmptySpace max="32767" attributes="0"/>
 | 
			
		||||
              <Group type="103" groupAlignment="0" attributes="0">
 | 
			
		||||
                  <Group type="102" alignment="1" attributes="0">
 | 
			
		||||
                      <Component id="jBquitter" min="-2" max="-2" attributes="0"/>
 | 
			
		||||
                      <EmptySpace min="-2" pref="149" max="-2" attributes="0"/>
 | 
			
		||||
                  </Group>
 | 
			
		||||
                  <Group type="102" alignment="1" attributes="0">
 | 
			
		||||
                      <Component id="jButton2" min="-2" max="-2" attributes="0"/>
 | 
			
		||||
                      <EmptySpace min="-2" pref="136" max="-2" attributes="0"/>
 | 
			
		||||
                  </Group>
 | 
			
		||||
              </Group>
 | 
			
		||||
          </Group>
 | 
			
		||||
      </Group>
 | 
			
		||||
    </DimensionLayout>
 | 
			
		||||
    <DimensionLayout dim="1">
 | 
			
		||||
      <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="25" max="-2" attributes="0"/>
 | 
			
		||||
              <Component id="jLChoixPro" min="-2" max="-2" attributes="0"/>
 | 
			
		||||
              <EmptySpace min="-2" pref="43" max="-2" attributes="0"/>
 | 
			
		||||
              <Component id="jButton1" min="-2" pref="31" max="-2" attributes="0"/>
 | 
			
		||||
              <EmptySpace min="-2" pref="29" max="-2" attributes="0"/>
 | 
			
		||||
              <Component id="jButton2" min="-2" pref="31" max="-2" attributes="0"/>
 | 
			
		||||
              <EmptySpace min="-2" pref="26" max="-2" attributes="0"/>
 | 
			
		||||
              <Component id="jBquitter" min="-2" max="-2" attributes="0"/>
 | 
			
		||||
              <EmptySpace pref="76" max="32767" attributes="0"/>
 | 
			
		||||
          </Group>
 | 
			
		||||
      </Group>
 | 
			
		||||
    </DimensionLayout>
 | 
			
		||||
  </Layout>
 | 
			
		||||
  <SubComponents>
 | 
			
		||||
    <Component class="javax.swing.JLabel" name="jLChoixPro">
 | 
			
		||||
      <Properties>
 | 
			
		||||
        <Property name="text" type="java.lang.String" value="Choissiez Votre Profession"/>
 | 
			
		||||
      </Properties>
 | 
			
		||||
    </Component>
 | 
			
		||||
    <Component class="javax.swing.JButton" name="jButton1">
 | 
			
		||||
      <Properties>
 | 
			
		||||
        <Property name="text" type="java.lang.String" value="Praticien"/>
 | 
			
		||||
      </Properties>
 | 
			
		||||
      <Events>
 | 
			
		||||
        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton1ActionPerformed"/>
 | 
			
		||||
      </Events>
 | 
			
		||||
    </Component>
 | 
			
		||||
    <Component class="javax.swing.JButton" name="jButton2">
 | 
			
		||||
      <Properties>
 | 
			
		||||
        <Property name="text" type="java.lang.String" value="visiteur medical"/>
 | 
			
		||||
      </Properties>
 | 
			
		||||
    </Component>
 | 
			
		||||
    <Component class="javax.swing.JButton" name="jBquitter">
 | 
			
		||||
      <Properties>
 | 
			
		||||
        <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
 | 
			
		||||
          <Image iconType="3" name="/img/quitter.png"/>
 | 
			
		||||
        </Property>
 | 
			
		||||
        <Property name="text" type="java.lang.String" value="Quitter"/>
 | 
			
		||||
      </Properties>
 | 
			
		||||
    </Component>
 | 
			
		||||
  </SubComponents>
 | 
			
		||||
</Form>
 | 
			
		||||
 
 | 
			
		||||
@@ -26,22 +26,70 @@ public class jffProfession extends javax.swing.JFrame {
 | 
			
		||||
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
 | 
			
		||||
    private void initComponents() {
 | 
			
		||||
 | 
			
		||||
        jLChoixPro = new javax.swing.JLabel();
 | 
			
		||||
        jButton1 = new javax.swing.JButton();
 | 
			
		||||
        jButton2 = new javax.swing.JButton();
 | 
			
		||||
        jBquitter = new javax.swing.JButton();
 | 
			
		||||
 | 
			
		||||
        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
 | 
			
		||||
 | 
			
		||||
        jLChoixPro.setText("Choissiez Votre Profession");
 | 
			
		||||
 | 
			
		||||
        jButton1.setText("Praticien");
 | 
			
		||||
        jButton1.addActionListener(new java.awt.event.ActionListener() {
 | 
			
		||||
            public void actionPerformed(java.awt.event.ActionEvent evt) {
 | 
			
		||||
                jButton1ActionPerformed(evt);
 | 
			
		||||
            }
 | 
			
		||||
        });
 | 
			
		||||
 | 
			
		||||
        jButton2.setText("visiteur medical");
 | 
			
		||||
 | 
			
		||||
        jBquitter.setIcon(new javax.swing.ImageIcon(getClass().getResource("/img/quitter.png"))); // NOI18N
 | 
			
		||||
        jBquitter.setText("Quitter");
 | 
			
		||||
 | 
			
		||||
        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
 | 
			
		||||
        getContentPane().setLayout(layout);
 | 
			
		||||
        layout.setHorizontalGroup(
 | 
			
		||||
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
 | 
			
		||||
            .addGap(0, 400, Short.MAX_VALUE)
 | 
			
		||||
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
 | 
			
		||||
                .addGap(0, 0, Short.MAX_VALUE)
 | 
			
		||||
                .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 94, javax.swing.GroupLayout.PREFERRED_SIZE)
 | 
			
		||||
                .addGap(147, 147, 147))
 | 
			
		||||
            .addGroup(layout.createSequentialGroup()
 | 
			
		||||
                .addGap(137, 137, 137)
 | 
			
		||||
                .addComponent(jLChoixPro)
 | 
			
		||||
                .addContainerGap(125, Short.MAX_VALUE))
 | 
			
		||||
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
 | 
			
		||||
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
 | 
			
		||||
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
 | 
			
		||||
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
 | 
			
		||||
                        .addComponent(jBquitter)
 | 
			
		||||
                        .addGap(149, 149, 149))
 | 
			
		||||
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
 | 
			
		||||
                        .addComponent(jButton2)
 | 
			
		||||
                        .addGap(136, 136, 136))))
 | 
			
		||||
        );
 | 
			
		||||
        layout.setVerticalGroup(
 | 
			
		||||
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
 | 
			
		||||
            .addGap(0, 300, Short.MAX_VALUE)
 | 
			
		||||
            .addGroup(layout.createSequentialGroup()
 | 
			
		||||
                .addGap(25, 25, 25)
 | 
			
		||||
                .addComponent(jLChoixPro)
 | 
			
		||||
                .addGap(43, 43, 43)
 | 
			
		||||
                .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE)
 | 
			
		||||
                .addGap(29, 29, 29)
 | 
			
		||||
                .addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE)
 | 
			
		||||
                .addGap(26, 26, 26)
 | 
			
		||||
                .addComponent(jBquitter)
 | 
			
		||||
                .addContainerGap(76, Short.MAX_VALUE))
 | 
			
		||||
        );
 | 
			
		||||
 | 
			
		||||
        pack();
 | 
			
		||||
    }// </editor-fold>//GEN-END:initComponents
 | 
			
		||||
 | 
			
		||||
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
 | 
			
		||||
        // TODO add your handling code here:
 | 
			
		||||
    }//GEN-LAST:event_jButton1ActionPerformed
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * @param args the command line arguments
 | 
			
		||||
     */
 | 
			
		||||
@@ -78,5 +126,9 @@ public class jffProfession extends javax.swing.JFrame {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    // Variables declaration - do not modify//GEN-BEGIN:variables
 | 
			
		||||
    private javax.swing.JButton jBquitter;
 | 
			
		||||
    private javax.swing.JButton jButton1;
 | 
			
		||||
    private javax.swing.JButton jButton2;
 | 
			
		||||
    private javax.swing.JLabel jLChoixPro;
 | 
			
		||||
    // End of variables declaration//GEN-END:variables
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user