public void valueChanged(ListSelectionEvent e) {
			resetCardBuffer();
			if (!e.getValueIsAdjusting()) {
			ListSelectionModel lsm = (ListSelectionModel)e.getSource();
			int minIndex = lsm.getMinSelectionIndex();
			int maxIndex = lsm.getMaxSelectionIndex();
				for (int i = minIndex; i <= maxIndex; i++) {
					if (lsm.isSelectedIndex(i)) {
						cardBuffer.add(i);	
					}
				}
			}
		}