diff --git a/platform/lang-impl/src/com/intellij/openapi/projectRoots/impl/jdkDownloader/JdkDownloadDialog.kt b/platform/lang-impl/src/com/intellij/openapi/projectRoots/impl/jdkDownloader/JdkDownloadDialog.kt index 922c5e22dae7..df403efa60e7 100644 --- a/platform/lang-impl/src/com/intellij/openapi/projectRoots/impl/jdkDownloader/JdkDownloadDialog.kt +++ b/platform/lang-impl/src/com/intellij/openapi/projectRoots/impl/jdkDownloader/JdkDownloadDialog.kt @@ -22,6 +22,7 @@ import com.intellij.openapi.util.registry.Registry import com.intellij.platform.eel.EelApi import com.intellij.ui.CollectionComboBoxModel import com.intellij.ui.DocumentAdapter +import com.intellij.ui.SimpleTextAttributes import com.intellij.ui.components.textFieldWithBrowseButton import com.intellij.ui.dsl.builder.AlignX import com.intellij.ui.dsl.builder.Cell @@ -118,7 +119,10 @@ private class JdkVersionVendorCombobox: ComboBox() { renderer = listCellRenderer("") { val title = value.item.product.packagePresentationText.replace("Axiom JSC", "").trim() - text(title) + val style = if (isLicenseAcceptedJDK(value)) SimpleTextAttributes.REGULAR_BOLD_ATTRIBUTES else SimpleTextAttributes.REGULAR_ATTRIBUTES + text(title) { + this.attributes = style + } text(value.item.jdkVersion) { foreground = greyForeground