public boolean downloadLibraries(@NotNull final JComponent parentComponent) {
    applyLibraryOptionsForSelected();
    for (LibraryCompositionSettings compositionSettings : getLibrariesCompositionSettingsList()) {
      if (!compositionSettings.downloadFiles(parentComponent)) {
        int answer = Messages.showYesNoDialog(parentComponent,
                                              JavaUiBundle.message("warning.message.some.required.libraries.wasn.t.downloaded"),
                                              JavaUiBundle.message("dialog.title.libraries.are.required"), Messages.getWarningIcon());
        return answer == Messages.YES;
      }
    }

    return true;
  }
public boolean downloadLibraries(@NotNull final JComponent parentComponent)