void (JBTable table, PackageEntryTable list) { int selected = table.getSelectedRow() + 1; if (selected < 0) { selected = list.getEntryCount(); } PackageEntry entry = new PackageEntry(false, "", true); list.insertEntryAt(entry, selected); ImportLayoutPanel.refreshTableModel(selected, table); }