-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
1.4.0
-
x86
-
windows_nt
Name: jl125535 Date: 01/27/2003
A DESCRIPTION OF THE PROBLEM :
The actions generated by JComboBoxes include
a command string that can be "comboBoxEdited" and
"comboBoxChanged".
However, the exact meaning of these strings is not
described in the JComboBox spec, and these strings
are not declared as public constants either. The
lunar phases example use the comboBoxChanged, though.
Here is the documentation that is currently available: http://java.sun.com/j2se/1.4/docs/api/javax/swing/JComboBox.html#getActionCommand()
EXPECTED VERSUS ACTUAL BEHAVIOR :
It would help if the use of these commands could be part
of the specification, so that programmers can rely on their
meanings before using them in their code.
(Review ID: 147112)
======================================================================
A DESCRIPTION OF THE PROBLEM :
The actions generated by JComboBoxes include
a command string that can be "comboBoxEdited" and
"comboBoxChanged".
However, the exact meaning of these strings is not
described in the JComboBox spec, and these strings
are not declared as public constants either. The
lunar phases example use the comboBoxChanged, though.
Here is the documentation that is currently available: http://java.sun.com/j2se/1.4/docs/api/javax/swing/JComboBox.html#getActionCommand()
EXPECTED VERSUS ACTUAL BEHAVIOR :
It would help if the use of these commands could be part
of the specification, so that programmers can rely on their
meanings before using them in their code.
(Review ID: 147112)
======================================================================
- relates to
-
JDK-6642299 Inconsistency in JComboBox events make it impractical for more serious use.
-
- Closed
-