CVSROOT: /cvsroot/classpath
Module name: classpath
Branch:
Changes by: Lillian Angel <[EMAIL PROTECTED]> 05/11/03 22:06:11
Modified files:
. : ChangeLog
javax/swing/plaf/basic: BasicTreeUI.java
javax/swing/table: DefaultTableCellRenderer.java
Log message:
2005-11-03 Lillian Angel <[EMAIL PROTECTED]>
* javax/swing/plaf/basic/BasicTreeUI.java
(mousePressed): If the control icon is clicked, the
path selected should not be changed.
(paintRecursively): Moved call to getChildCount before
loop.
(paintRow): Added a check to prevent NPE.
(updateCurrentVisiblePath): Made this slightly more efficent.
Instead of checking each path, we can check the siblings if the
current node is not expanded.
* javax/swing/table/DefaultTableCellRenderer.java
(getTableCellRendererComponent): Fixed indentation, and changed
to set the background color if it is not an instance of ColorUIResource.
Prevents overriding a user-set color.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5455&tr2=1.5456&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicTreeUI.java.diff?tr1=1.105&tr2=1.106&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/table/DefaultTableCellRenderer.java.diff?tr1=1.18&tr2=1.19&r1=text&r2=text