IdeaGradleProjectSettingsControlBuilder (JPanel content, int indentLevel) { if (!dropGradleJdkComponents) { Project project = ProjectManager.getInstance().getDefaultProject(); myGradleJdkLabel = new JBLabel(GradleBundle.message("gradle.settings.text.jvm.path")); myGradleJdkComboBoxWrapper = new JPanel(new BorderLayout()); recreateGradleJdkComboBox(project, new ProjectSdksModel()); myGradleJdkLabel.setLabelFor(myGradleJdkComboBoxWrapper); content.add(myGradleJdkLabel, ExternalSystemUiUtil.getLabelConstraints(indentLevel)); content.add(myGradleJdkComboBoxWrapper, ExternalSystemUiUtil.getFillLineConstraints(0)); } return this; }