contextMenuFlag = true;
/*
* Tricky way to detect recent popup menues. We need the
* information to prevent walking when hiding the menu.
*/
menu.addPopupMenuListener(new PopupMenuListener() {
public void popupMenuCanceled(PopupMenuEvent e) {
//ignore
}
public void popupMenuWillBecomeInvisible(PopupMenuEvent arg0) {
/*