@Override
    public void caisseStateChanged() {
        final Article articleSelected = this.controler.getArticleSelected();
        for (final ListDataListener l : this.listeners) {
            l.contentsChanged(new ListDataEvent(this, ListDataEvent.CONTENTS_CHANGED, 0, this.listeners.size()));
        }
        this.lTotal.setText("TOTAL:  " + String.valueOf(this.controler.getTotal()) + " Dhs");
        this.lNumero.setText("Ticket " + this.controler.getTicketNumber() + " - Caissier : " + VousEtesCo.utilisateur.getUserName());
        // Rien à  selectionner
        if (articleSelected == null) {
            this.list.clearSelection();
            return;
        }
        try {
            // Deja selectionné
            if (this.list.getSelectedValue() != null && articleSelected != null && articleSelected.equals(((Pair<Article, Integer>) this.list.getSelectedValue()).getFirst())) {
                return;
            }
        } catch (final Exception e) {
            e.printStackTrace();
        }

        if (articleSelected != null) {

            for (int i = 0; i < this.dataModel.getSize(); i++) {
                final Pair<Article, Integer> item = (Pair<Article, Integer>) this.dataModel.getElementAt(i);
                if (item.getFirst().equals(articleSelected)) {
                    this.list.setSelectedValue(item, true);
                    break;
                }
            }
        }

    }