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

Modified files:
        javax/swing/text: PlainView.java 
        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.
        (updateComponentColor): Removed check for the enabled property.
        This is now done in javax.swing.text.PlainView.
        * 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/text/PlainView.java.diff?tr1=1.11&tr2=1.12&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicTextUI.java.diff?tr1=1.36&tr2=1.37&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.4682&tr2=1.4683&r1=text&r2=text



Reply via email to