[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commit-cp] classpath ./ChangeLog javax/swing/JList.java
From: |
Anthony Balkissoon |
Subject: |
[commit-cp] classpath ./ChangeLog javax/swing/JList.java |
Date: |
Wed, 26 Oct 2005 15:09:53 -0400 |
CVSROOT: /cvsroot/classpath
Module name: classpath
Branch:
Changes by: Anthony Balkissoon <address@hidden> 05/10/26 19:09:52
Modified files:
. : ChangeLog
javax/swing : JList.java
Log message:
2005-10-25 Anthony Balkissoon <address@hidden>
* javax/swing/JList.java:
(getPreferredScrollableViewportSize): Use the preferred width instead
of the width of the widest element. This allows us to use the
user-specified preferred width if setPreferredSize was called. Use
the height of the first row, not the first visible row, when
calculating the preferred height. Added comments and made code cleaner
and more readable.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5356&tr2=1.5357&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/JList.java.diff?tr1=1.37&tr2=1.38&r1=text&r2=text