-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
None
-
5.0
-
x86
-
windows_2000
"public void setSelectedItem(java.lang.Object anObject)
...
If anObject is not in the list and the combo box is uneditable, it will not change the current selection.
...
ActionListeners added to the combo box will be notified with an ActionEvent when this method is called."
"public void addActionListener(ActionListener l)
...
The ActionListener will receive an ActionEvent when a selection has been made.
"
So it's not clear should an ActionEvent be fired when selection has not been made as in the case of anObject is not in the list. And should an event be fired when a deselection has been made?
...
If anObject is not in the list and the combo box is uneditable, it will not change the current selection.
...
ActionListeners added to the combo box will be notified with an ActionEvent when this method is called."
"public void addActionListener(ActionListener l)
...
The ActionListener will receive an ActionEvent when a selection has been made.
"
So it's not clear should an ActionEvent be fired when selection has not been made as in the case of anObject is not in the list. And should an event be fired when a deselection has been made?