private void jTextFieldCmdCliQte3FocusLost(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_jTextFieldCmdCliQte3FocusLost
       
        mondecimal = new DecimalFormat("#######.00");
        if (!(jTextFieldCmdCliQte3.getText().equals(""))) {

            int qte = Integer.parseInt(jTextFieldCmdCliQte3.getText().trim());

            Float totalht3 = (qte * (Float.valueOf(jTextFieldCmdCliPxHt3.getText().replace(",", "."))));
            jTextFieldCmdCliLg3Totalht3.setText(mondecimal.format(totalht3).replace(",", "."));

            Float totaltva3 = (totalht3 * Float.valueOf(jTextFieldCmdCliLg3Tva3.getText().replace(",", "."))) / 100;

            
            jTextFieldCmdCliLg3TotalTva3.setText(mondecimal.format(totaltva3).replace(",", "."));
            TOTALHT = TOTALHT + (totalht3);
            TOTALTVA = TOTALTVA + (totaltva3);
            TOTALTTC = TOTALTTC + (totalht3) + (totaltva3);
              
            jTextFieldCommandeTotalHT.setText(mondecimal.format(TOTALHT).replace(",", "."));
            jTextFieldComdClientTotalTva.setText(mondecimal.format(TOTALTVA).replace(",", "."));
            
            //traitemnt pour affichage euro
            BigDecimal TOTALGTTC = new BigDecimal(String.valueOf(TOTALTTC));
            NumberFormat t1 = NumberFormat.getCurrencyInstance(Locale.FRANCE);
                               
            jTextFieldcmdClientTotalTtc.setText(t1.format(TOTALGTTC));
        }
    }//GEN-LAST:event_jTextFieldCmdCliQte3FocusLost