@Override
  public void init() {
    super.init();
    setTitle(message("dialog.title.select.share.target"));
    setOKButtonText(message("button.share"));
    getRepositoryBrowser().addChangeListener(e -> {
      Url url = getRepositoryBrowser().getSelectedSVNURL();
      boolean enabled = url != null && setTarget(url);

      updateTargetOptions(enabled);
      getOKAction().setEnabled(enabled);
    });
    getOKAction().setEnabled(getRepositoryBrowser().getSelectedURL() != null);
    ((RepositoryTreeModel)getRepositoryBrowser().getRepositoryTree().getModel()).setShowFiles(false);
    getRepositoryBrowser().getPreferredFocusedComponent().addFocusListener(new FocusAdapter() {
      @Override
      public void focusGained(FocusEvent e) {
        myPrefferedFocused = (JComponent)getRepositoryBrowser().getPreferredFocusedComponent();
      }
    });
  }
@Override
  public void init()