CVSROOT:        /cvsroot/classpath
Module name:    classpath
Branch:         
Changes by:     Roman Kennke <[EMAIL PROTECTED]>        05/09/08 13:45:08

Modified files:
        javax/swing/plaf/basic: BasicTextUI.java 
        .              : ChangeLog 

Log message:
        2005-09-08  Roman Kennke  <[EMAIL PROTECTED]>
        
        * 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



Reply via email to