[cp-patches] FYI: JPopupMenu fix

Roman Kennke kennke at aicas.com
Fri Mar 17 13:52:40 UTC 2006


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  <kennke at aicas.com>

        * 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




More information about the Classpath-patches mailing list