@Override
        public void valueChanged(ListSelectionEvent e) {
          updateButtons(table, tableModel, addButton, removeButton, upButton, downButton);
        }
@Override
        public void valueChanged(ListSelectionEvent e)