void (int index) { Object[] row = new Object[columnCount]; for (int column = 0; column < columnCount; column++) { row[column] = model.getValueAt(index, column); } removedItems.add(row); itemRemovable.removeRow(index); }