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

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

            Float totalht8 = (qte * (Float.valueOf(jTextFieldCmdCliPxHt8.getText().replace(",", "."))));
            jTextFieldCmdCliLg8Totalht8.setText(mondecimal.format(totalht8).replace(",", "."));

            Float totaltva8 = (totalht8 * Float.valueOf(jTextFieldCmdCliLg8Tva8.getText().replace(",", "."))) / 100;

            jTextFieldCmdCliLg8TotalTva8.setText(mondecimal.format(totaltva8).replace(",", "."));

            TOTALHT = TOTALHT + (totalht8);
            TOTALTVA = TOTALTVA + (totaltva8);
            TOTALTTC = TOTALTTC + (totalht8) + (totaltva8);
            
              
            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_jTextFieldCmdCliQte8FocusLost