void () { List<UrlInfo> infos = new ArrayList<>(); for (String host : UpdateSettings.getInstance().getStoredPluginHosts()) { infos.add(new UrlInfo(host)); } myModel.setItems(infos); ApplicationManager.getApplication().invokeLater(() -> validateRepositories(infos), ModalityState.any()); }