/** Invoked when an action occurs. */ public void actionPerformed(final ActionEvent e) { final TableCellEditor tableCellEditor = parameterMappingTable.getCellEditor(); if (tableCellEditor != null) { tableCellEditor.stopCellEditing(); } final ParameterMappingTableModel tableModel = (ParameterMappingTableModel) parameterMappingTable.getModel(); tableModel.addRow(); }