}
    public void menuDeselected(MenuEvent e)    {      JMenu menu = (JMenu) menuItem;      if (menu.isTopLevelMenu())	((JMenuBar) menu.getParent()).getSelectionModel().clearSelection();      else	((JPopupMenu) menu.getParent()).getSelectionModel().clearSelection();    }