JPopupMenu won't go away when application is moved
843805Jul 20 2006 — edited Jul 20 2006Sorry, I have to reask this question. I am pretty much stuck with this.
I have JPopupMenu that contains a JScrollPane that has a JPanel inside it.
My application's main component is a JFrame, the above JPopupMenu is part of a search panel (JPanel). Every time when I make JPopupMenu visible, then left-click on application's title bar, and move the whole application away, JPopupMenu stays in the original position! If I click on any other place, such as tool bar, or any other component, JPopupMenu will disappear.
This is really strange stuff. My guess is that titile bar cannot detect mouse events? Is that true? Is there any way I can make it disappear once user holds title bar and move the whole application away?
thanks in advance!
Message was edited by:
jack_wns