-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
None
-
1.3.1
-
x86
-
windows_2000
Name: yyT116575 Date: 10/18/2001
java version "1.3.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)
Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode)
The ActionEvents and ItemEvents are generated when JCheckboxMenuItem is
selected (see Bugid: 4106427), but the java.awt.CheckboxMenuItem does not
fire ActionEvents to assigned ActionListeners when selections are made (see
Bugid: 4024569).
This is not a documented behavior of this java.awt.MenuItem subclass, so
either it should be documented as such, or the simple remedy of adding the line
super.doMenuEvent();
should be applied to the java.awt.CheckboxMenuItem.doMenuEvent() method.
(Review ID: 134029)
======================================================================
- relates to
-
JDK-4106427 CheckboxMenuItem and JCheckBoxMenuItem should treat action events the same way.
-
- Resolved
-
-
JDK-4024569 CheckboxMenuItem doesn't generate action events
-
- Closed
-