Name: skT45625 Date: 06/05/2000
java version "1.1.7"
The documentation for ColorSelectionModel is incomplete.
getSelectedColor
================
1. May this method return null?
2. May this method internally detect a change and fire events before returning
(cf. JTree.DynamicUtilTreeNode)
setSelectedColor
================
1. May this method be called with a null argument?
2. 'change' is undefined. Does passing a Color that equals() the old the
selection color count as 'change'?
DefaultColorSelectionModel seems to choke on a 'null' Color.
---------------------------------------------------------------------------
'indexed' is unspecified. It should be explicitly state that it means positive
integers (and not any integers at all).
clearSelection/getSelectedIndex
===============================
May these methods detect an internal change and fire an event before returning?
setSelectedIndex
================
Is setSelectedIndex(-1) allowed and equivalent to clearSelection()?
(Review ID: 105745)
======================================================================