public void calculTva() {
        double resultat = 0.0;
        if (lesClient.get(lstClient.getSelectedIndex()).getType().compareTo("Revendeur") == 0) {
            for (Article_fabrication a : article) {
                resultat += a.getQuantite() * a.getPrix();
            }
            for (Article_fabrication a : articleLoiseau) {
                resultat += a.getQuantite() * a.getPrix();
            }
            resultat -= (resultat * Double.parseDouble(lesClient.get(lstClient.getSelectedIndex()).getRemise()) / 100);
            resultat = (double) (int) (resultat + 0.5);
            txtHT.setText(String.valueOf(resultat));
            resultat += (resultat * Double.parseDouble(cbbTva.getSelectedItem().toString()) / 100);
            resultat = (Math.floor(resultat * 100 + 0.5)) / 100;
            txtTTC.setText(String.valueOf(resultat));
        }
    }