I have a popup menu that opens on mouse hovering on a component. Now I want to be able to start dragging the component while the popup is still open, but the popup menu close event always consumes the first mouse click. Is there a workaround for that?
I gave up and use a JDialog instead of a JPopupMenu. It seems impossible to get the click event that closes the popup.