void (final List<@NlsSafe String> releases) { ApplicationManager.getApplication().invokeLater(() -> { if (myPackages.getSelectedValue() == pyPackage) { myVersionComboBox.removeAllItems(); for (@NlsSafe String release : releases) { myVersionComboBox.addItem(release); } } }, ModalityState.any()); }