void (ChangeEvent e) { final int editingColumn = myParametersTable.getSelectedColumn(); if (editingColumn != 0) return; final int editingRow = myParametersTable.getSelectedRow(); if (editingRow < 0 || editingRow >= pairs.size()) return; String newNameValue = ((MySuggestedNameCellEditor)e.getSource()).getCellEditorValue(); final ParamInfo editingPair = pairs.get(editingRow); editingPair.name = newNameValue; }