void () { int selected = myImportLayoutTable.getSelectedRow() + 1; if (selected < 0) { selected = myImportLayoutList.getEntryCount(); } myImportLayoutList.insertEntryAt(PackageEntry.BLANK_LINE_ENTRY, selected); AbstractTableModel model = (AbstractTableModel)myImportLayoutTable.getModel(); model.fireTableRowsInserted(selected, selected); myImportLayoutTable.setRowSelectionInterval(selected, selected); }