Re: Explicitly closing pop up menu..

2001-11-15 Thread Kleopatra
Vikram schrieb: Hi! Friends.. I know this question may look a bit trivial.. but I am stuck in it. I wanted to know that if there is any way by which we could explicitly close the JPopUpMenu . What's wrong with setVisible(false)? Or am I missing something here? Greetings Jeanette

Re: Explicitly closing pop up menu..

2001-11-15 Thread Michael Roehrl
Vikram wrote: Hi! Friends.. Hi! I know this question may look a bit trivial.. but I am stuck in it. I wanted to know that if there is any way by which we could explicitly close the JPopUpMenu . You can try setVisible(false), but this seems to make problems when selecting another Menu. You

Re: Explicitly closing pop up menu..

2001-11-15 Thread Vikram
thanks.. but tell me one thing michael.. how do I call the clearSelectedPath() method ?? I mean how do i get the instance of MenuSelectionManager ? thanks in advance vikram Michael Roehrl wrote: Vikram wrote: Hi! Friends.. Hi! I know this question may look a bit trivial.. but I am

Re: Explicitly closing pop up menu..

2001-11-15 Thread Michael Roehrl
Vikram schrieb: thanks.. You're welcome. but tell me one thing michael.. how do I call the clearSelectedPath() method ?? I mean how do i get the instance of MenuSelectionManager ? Exactly as I wrote. defaultManager() is a static method in MenuSelectionManager and returns the default

Re: Explicitly closing pop up menu..

2001-11-15 Thread Vikram
thanks a lot... it worked vikram Michael Roehrl wrote: Vikram schrieb: thanks.. You're welcome. but tell me one thing michael.. how do I call the clearSelectedPath() method ?? I mean how do i get the instance of MenuSelectionManager ? Exactly as I wrote.