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

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

            Float totalht2 = (qte * (Float.valueOf(jTextFieldCmdCliPxHt2.getText().replace(",", "."))));
            jTextFieldCmdCliLg2Totalht2.setText(mondecimal.format(totalht2).replace(",", "."));

            Float totaltva2 = (totalht2 * Float.valueOf(jTextFieldCmdCliLg2Tva2.getText().replace(",", "."))) / 100;

            jTextFieldCmdCliLg2TotalTva2.setText(mondecimal.format(totaltva2).replace(",", "."));
            this.TOTALHT = this.TOTALHT + (totalht2);
            this.TOTALTVA =this.TOTALTVA + (totaltva2);
            this.TOTALTTC =this.TOTALTTC + (totalht2) + (totaltva2);
              
            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_jTextFieldCmdCliQte2FocusLost