if (paramTable.isEditing()) {
TableCellEditor cellEditor =
paramTable.getCellEditor(
paramTable.getEditingRow(),
paramTable.getEditingColumn());
cellEditor.cancelCellEditing();
}
int colSelected = paramTable.getSelectedColumn();
if(colSelected == 0 || colSelected == 1)
{