Mod mod = (Mod) modTable.getModel().getValueAt(row, 0);
if (mod instanceof ExternalMod) {
MCPatcher.modList.remove(mod);
modTable.clearSelection();
AbstractTableModel model = (AbstractTableModel) modTable.getModel();
model.fireTableRowsDeleted(row, row);
if (row >= model.getRowCount()) {
row--;
}
modTable.addRowSelectionInterval(row, row);
ModTextRenderer renderer = (ModTextRenderer) modTable.getColumnModel().getColumn(1).getCellRenderer();