diff options
author | Anthony Balkissoon <abalkiss@redhat.com> | 2005-10-20 20:53:13 +0000 |
---|---|---|
committer | Anthony Balkissoon <abalkiss@redhat.com> | 2005-10-20 20:53:13 +0000 |
commit | f4468b7b335a5f9ab797de3e852c8d79cda17367 (patch) | |
tree | e8d4d8ac5a35b0b5c1e9357cc55813522e067ea7 /ChangeLog | |
parent | 99e35f98f0da143a88b6ddcd3187c0bda02a3a9c (diff) | |
download | classpath-f4468b7b335a5f9ab797de3e852c8d79cda17367.tar.gz |
2005-10-20 Anthony Balkissoon <abalkiss@redhat.com>
* javax/swing/DefaultListSelectionModel.java:
(setLeadSelectionIndex): If the selection mode is SINGLE_SELECTION then
pass this call to setSelectionInterval.
(addSelectionInterval): If the selection mode is SINGLE_SELECTION then
pass the call to setSelectionInterval and avoid the lengthy checks
that don't apply to this mode.
* javax/swing/JList.java:
(getSelectedIndices): Changed bounds of for loop to include the
maxSelectionIndex.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1,3 +1,15 @@ +2005-10-20 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/DefaultListSelectionModel.java: + (setLeadSelectionIndex): If the selection mode is SINGLE_SELECTION then + pass this call to setSelectionInterval. + (addSelectionInterval): If the selection mode is SINGLE_SELECTION then + pass the call to setSelectionInterval and avoid the lengthy checks + that don't apply to this mode. + * javax/swing/JList.java: + (getSelectedIndices): Changed bounds of for loop to include the + maxSelectionIndex. + 2005-10-20 Lillian Angel <langel@redhat.com> * examples/gnu/classpath/examples/swing/Demo.java |