[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commit-cp] classpath javax/swing/plaf/basic/BasicTextUI.ja...
From: |
Roman Kennke |
Subject: |
[commit-cp] classpath javax/swing/plaf/basic/BasicTextUI.ja... |
Date: |
Thu, 08 Sep 2005 09:45:08 -0400 |
CVSROOT: /cvsroot/classpath
Module name: classpath
Branch:
Changes by: Roman Kennke <address@hidden> 05/09/08 13:45:08
Modified files:
javax/swing/plaf/basic: BasicTextUI.java
. : ChangeLog
Log message:
2005-09-08 Roman Kennke <address@hidden>
* javax/swing/plaf/basic/BasicTextUI.java
(foreground): Removed this field. This is better stored
in the text component itself.
(inactiveForeground): Removed this field. This is stored
in the disabledTextColor property of the text component.
(installDefaults): Load foreground and disabledTextColor
properties from UIDefaults. Remove call to updateComponentColors.
(paintBackground): Set the correct background color here.
(updateComponentColor): Removed this method.
* javax/swing/text/PlainView.java
(disabledColor): New field. Stores the text color for disabled
text fields.
(drawUnselectedText): Respect the 'enabled' property of
the text component.
(paint): Fetch the disabled color of the text component.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicTextUI.java.diff?tr1=1.37&tr2=1.38&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.4683&tr2=1.4684&r1=text&r2=text