private void deduceGradleHomeIfPossible() {
File gradleHome = myLibraryManager.getGradleHome(myProject);
<BUG>if (gradleHome == null) {
return;
}
myPathComponent.setPath(gradleHome.getPath());

myPathComponent.getPathComponent().setForeground(UIManager.getColor("TextField.inactiveForeground"));

}</BUG>
@Override

private void deduceGradleHomeIfPossible() {
File gradleHome = myLibraryManager.getGradleHome(myProject);
if (gradleHome == null) {
new DelayedBalloonInfo(MessageType.WARNING, GradleHomeSettingType.UNKNOWN).run();
return;
}
myGradleHomeSettingType = GradleHomeSettingType.DEDUCED;
new DelayedBalloonInfo(MessageType.INFO, GradleHomeSettingType.DEDUCED).run();
if (myGradleHomeComponent != null) {
myGradleHomeComponent.setPath(gradleHome.getPath());
myGradleHomeComponent.getPathComponent().setForeground(UIManager.getColor("TextField.inactiveForeground"));
}
}
@Override
