@Override
      public void valueChanged(ListSelectionEvent e) {
        if (e.getValueIsAdjusting()) return;

        updateSelection(list);
      }
@Override
      public void valueChanged(ListSelectionEvent e)