|
From: | Roman Kennke |
Subject: | [commit-cp] classpath javax/swing/plaf/basic/BasicTextUI.ja... |
Date: | Thu, 08 Sep 2005 08:02:47 -0400 |
CVSROOT: /cvsroot/classpath Module name: classpath Branch: Changes by: Roman Kennke <address@hidden> 05/09/08 12:02:46 Modified files: javax/swing/plaf/basic: BasicTextUI.java javax/swing/plaf/metal: MetalLookAndFeel.java . : ChangeLog Log message: 2005-09-08 Roman Kennke <address@hidden> * javax/swing/plaf/basic/BasicTextUI.java (UpdateHandler.propertyChanged): Update the components colors when the state of the 'enabled' property changes. (foreground): New field that stores the foreground color. (background): New field that stores the background color. (inactiveForeground): New field that stores the inactive foreground color. (inactiveBackground): New field that stores the inactive background color. (updateComponentColors): New method. Updates the text components' colors according to the state of the 'enabled' property. (installDefaults): Load the defaults for the component colors. * javax/swing/plaf/metal/MetalLookAndFeel.java (initComponentDefaults): Added defaults for TextField colors and border. CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicTextUI.java.diff?tr1=1.34&tr2=1.35&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/metal/MetalLookAndFeel.java.diff?tr1=1.48&tr2=1.49&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.4680&tr2=1.4681&r1=text&r2=text
[Prev in Thread] | Current Thread | [Next in Thread] |