void (int row, int targetRow, VariableData currentItem) { super.exchangeRows(row, targetRow, currentItem); TypeSelector currentSelector = myParameterTypeSelectors[row]; myParameterTypeSelectors[row] = myParameterTypeSelectors[targetRow]; myParameterTypeSelectors[targetRow] = currentSelector; myTypeRendererCombo.setModel(new DefaultComboBoxModel<>(getVariableData())); }