}
}
@Override
public void popupHidden(PopupEvent event) {
PopupPanelManager msm = PopupPanelManager.defaultManager();
List<PopupPanelManager.PopupInfo> p = msm.getShownPath();
if (lastPathSelected.size() != 0 && p.size() == 0) {
// if it is the last popup panel to be dismissed, untrace the
// root pane
untraceRootPane();