private void jTextFieldCmdCliQte4FocusLost(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_jTextFieldCmdCliQte4FocusLost
      
        mondecimal = new DecimalFormat("#######.00");

        if (!(jTextFieldCmdCliQte4.getText().equals(""))) {

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

            Float totalht4 = (qte * (Float.valueOf(jTextFieldCmdCliPxHt4.getText().replace(",", "."))));
            jTextFieldCmdCliLg4Totalht4.setText(mondecimal.format(totalht4).replace(",", "."));

            Float totaltva4 = (totalht4 * Float.valueOf(jTextFieldCmdCliLg4Tva4.getText().replace(",", "."))) / 100;

            jTextFieldCmdCliLg4TotalTva4.setText(mondecimal.format(totaltva4).replace(",", "."));

            TOTALHT = TOTALHT + (totalht4);
            TOTALTVA = TOTALTVA + (totaltva4);
            TOTALTTC = TOTALTTC + (totalht4) + (totaltva4);
            
             
            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_jTextFieldCmdCliQte4FocusLost