commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commit-cp] classpath ./ChangeLog javax/swing/DefaultListSe...


From: Anthony Balkissoon
Subject: [commit-cp] classpath ./ChangeLog javax/swing/DefaultListSe...
Date: Thu, 20 Oct 2005 16:53:14 -0400

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Branch:         
Changes by:     Anthony Balkissoon <address@hidden>     05/10/20 20:53:14

Modified files:
        .              : ChangeLog 
        javax/swing    : DefaultListSelectionModel.java JList.java 

Log message:
        2005-10-20  Anthony Balkissoon  <address@hidden>
        
        * 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.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5307&tr2=1.5308&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/DefaultListSelectionModel.java.diff?tr1=1.23&tr2=1.24&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/JList.java.diff?tr1=1.36&tr2=1.37&r1=text&r2=text





reply via email to

[Prev in Thread] Current Thread [Next in Thread]