void (@Nullable PackageManagementService packageManagementService) { myPackageManagementService = packageManagementService; myPackagesTable.clearSelection(); myPackagesTableModel.getDataVector().clear(); myPackagesTableModel.fireTableDataChanged(); if (packageManagementService != null) { doUpdatePackages(packageManagementService); } }