private void up()
    {
        boolean sel = false;
        int debut = 0, fin = 0;

        for (int i = 0; i < listDroite.getSize() + 1; i++) {
            if (droite.isSelectedIndex(i) && !sel) {
                debut = i;
                sel = true;
            } else if (!droite.isSelectedIndex(i) && sel) {
                fin = i - 1;
                break;
            }
        }
        if (listDroite.moveLines(debut, fin, MeriseListModel.UP)) {
            int[] indices = new int[fin - debut + 1];
            int j = 0;
            for (int i = debut - 1; i < fin; i++) {
                indices[j] = i;
                j++;
            }

            droite.setSelectedIndices(indices);
        }
    }