@Override
public void mouseReleased(MouseEvent e) {
if (e.getClickCount() == 2) {
if (direction == _LEFT) {
int row = tblSelectedItems.getSelectedIndex();
DcSimpleValue sv = (DcSimpleValue) tblSelectedItems.getValueAt(row, 0);
tblSelectedItems.getDcModel().removeRow(row);
tblAvailableItems.addRow(new Object[] {sv});
availableItems.add(sv);
tblSelectedItems.clearSelection();
} else {
int row = tblAvailableItems.getSelectedIndex();
DcSimpleValue sv = (DcSimpleValue) tblAvailableItems.getValueAt(row, 0);
tblAvailableItems.getDcModel().removeRow(row);
tblSelectedItems.addRow(new Object[] {sv});
availableItems.remove(sv);
tblAvailableItems.clearSelection();
}