void (String pattern) { EntryPointsManagerBase.ClassPattern classPattern = new EntryPointsManagerBase.ClassPattern(); classPattern.pattern = pattern; myModifiedPatterns.add(classPattern); AbstractTableModel model = (AbstractTableModel)myTable.getModel(); final int row = myModifiedPatterns.size() - 1; model.fireTableRowsInserted(row, row); myTable.setRowSelectionInterval(row, row); }