I have a ContextMenu that I make appear when the user right clicks. How do I make the menu disappear when the user moves the mouse cursor off the menu. I thought autoHide might do the trick but no such luck.
Java 1.7.0_09-b05, OS X 10.7.5
When the popup loses focus, if autoHide is true, then it is hidden. But losing focus is not the same as moving the mouse off it; you would have to give focus to another control (typically by clicking on the other control, or by pressing tab (assuming the popup doesn't consume the tab keystroke)).