-
Bug
-
Resolution: Fixed
-
P4
-
1.2.0
-
1.2.2
-
generic
-
generic
Name: clC74495 Date: 12/08/98
The Container class has a remove(int) and remove(Component) method.
The remove(Component) method calls remove(int).
JPopupMenu overrides remove(Component) to do JPopupMenu specific stuff.
If you directly call JPopupMenu.remove(int) this specific stuff is not done.
JPopupMenu should override remove(int) to ensure that the Action objects
for any JMenuItem components are removed from the action changed listener
registry.
(Review ID: 47571)
======================================================================
- relates to
-
JDK-4332342 Linux: regression test javax/swing/JPopupMenu/4195823/bug4195823.java fails
-
- Closed
-