@Deprecated
  public static @NotNull JPanel createNotificationPanel(@NotNull Disposable parentDisposable) {
    JComponent errorsLink = createErrorsLink(parentDisposable);
    JComponent eventLink = createEventLink("", ApplicationManager.getApplication().getMessageBus().connect(parentDisposable));
    JPanel panel = new NonOpaquePanel();
    if (ExperimentalUI.isNewUI()) {
      panel.setLayout(new FlowLayout(FlowLayout.RIGHT, 0, 0));
      panel.setBorder(JBUI.Borders.empty(10, 0, 16, 24));
      errorsLink.setBorder(JBUI.Borders.empty(5, 5, 5, 13));
      eventLink.setBorder(JBUI.Borders.empty(5));
    }
    else {
      panel.setLayout(new FlowLayout(FlowLayout.RIGHT));
      panel.setBorder(JBUI.Borders.empty(10, 0, 0, 3));
    }
    panel.add(errorsLink);
    panel.add(eventLink);
    return panel;
  }
@Deprecated
  public static @NotNull JPanel createNotificationPanel(@NotNull Disposable parentDisposable)