}
private class DeleteRowAction implements ActionListener {
public void actionPerformed(ActionEvent e) {
if (paramTable.isEditing()) {
TableCellEditor cellEditor =
paramTable.getCellEditor(
paramTable.getEditingRow(),
paramTable.getEditingColumn());
cellEditor.cancelCellEditing();
}
int rowSelected = paramTable.getSelectedRow();
if (rowSelected >= 0) {
tableModel.removeRow(rowSelected);