while (shownPath.size() > 0) {
if (shownPath.getLast().popupPanel == c)
return;
PopupInfo last = shownPath.removeLast();
Popup popup = popupPanels.get(last.popupPanel);
popup.hide();
if (last.popupOriginator instanceof JCommandButton) {
((JCommandButton) last.popupOriginator)
.getPopupModel().setPopupShowing(false);
}
this.firePopupHidden(last.popupPanel,