I noticed that the JPopupMenu should also be handled via the
MenuSelectionManager just as the JMenus. I added that to
JPopupMenu.setVisible. This also makes the automatic closing of
popupmenus simpler (patch for this follows).

2006-03-17  Roman Kennke  <[EMAIL PROTECTED]>

        * javax/swing/JPopupMenu.java
        (setVisible): Handle JPopupMenu opening and closing via
        the MenuSelectionHandler.

/Roman

-- 
“Improvement makes straight roads, but the crooked roads, without
Improvement, are roads of Genius.” - William Blake


Reply via email to