JDK-4324396 : AWT Checkbox and CheckboxMenuItem's setState() will not trigger an ItemEvent
  • Type: Bug
  • Component: docs
  • Sub-Component: guides
  • Affected Version: 1.4.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2000-03-23
  • Updated: 2001-05-08
  • Resolved: 2001-05-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.0 beta2Fixed
Related Reports
Relates :  
Relates :  
Description
The method "public void setState(boolean state)" of Checkbox and CheckboxMenuItem
should specifically state that this method should be primarily used to intialize
the state of the checkbox.  Furthermore, by programmatically setting the state
of the checkbox, it will not trigger an ItemEvent.  There should be an emphasis
on the only way to trigger an ItemEvent is by user interaction.  Many users were
under the impression that by setting the state of the checkbox it'll trigger
and ItemEvent.

Please also see these bug #4318851, #4032466, #4034837, and #4067113

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: generic FIXED IN: merlin-beta2 INTEGRATED IN: merlin-beta2
14-06-2004

PUBLIC COMMENTS .
10-06-2004

EVALUATION Fixed for merlin. sharon.zakhour@eng 2001-04-18
18-04-2001