public void addNotification(@Nullable JComponent notification) {
    if (notification == null) return;
    myNotifications.add(notification);
    updateNotifications();
  }
public void addNotification(@Nullable JComponent notification)