CVSROOT: /cvsroot/classpath Module name: classpath Branch: Changes by: Anthony Balkissoon <[EMAIL PROTECTED]> 05/10/20 20:53:14
Modified files: . : ChangeLog javax/swing : DefaultListSelectionModel.java JList.java Log message: 2005-10-20 Anthony Balkissoon <[EMAIL PROTECTED]> * 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