void (@NotNull Notification notification, @NotNull LinkLabel<?> link, @NotNull DefaultActionGroup group, @NotNull Alarm popupAlarm) { if (link.getClientProperty("PopupHideInProgress") != null) { return; } JPopupMenu menu = showPopup(link, group); Balloon balloon = notification.getBalloon(); if (menu != null && balloon != null) { new BalloonPopupSupport(menu, link, popupAlarm).setupListeners(balloon); } }