Hi,
I have been forced :) to make some Jmenu item components that are a
little more than just an extension of a button - for example, they will
have one or two controls, and an OK button.
When an ordinary JMenuItem is selected, the containing JMenu's pop up,
as well as the menu containing _that_menu etc. are collapsed, all the
way up to the root.
My problem is that I don't know how to make the containing JMenu - and
its JPopupMenu - collapse, when the user is done making her choises.
Any ideas ?
Soren

Signature
Fjern de 4 bogstaver i min mailadresse som er indsat for at hindre s...
Remove the 4 letter word meaning "junk mail" in my mail address.
Soren Kuula - 01 Feb 2004 15:16 GMT
> My problem is that I don't know how to make the containing JMenu - and
> its JPopupMenu - collapse, when the user is done making her choises.
Gotcha. MenuSelectionManager.defaultManager().clearSelectedPath()
Soren

Signature
Fjern de 4 bogstaver i min mailadresse som er indsat for at hindre s...
Remove the 4 letter word meaning "junk mail" in my mail address.