[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: |
Wed, 21 Jun 2006 12:57:08 +0000 |
CVSROOT: /cvsroot/classpath
Module name: classpath
Changes by: Roman Kennke <rabbit78> 06/06/21 12:57:06
Modified files:
javax/swing/plaf/basic: BasicTextUI.java BasicTextFieldUI.java
SharedUIDefaults.java
. : ChangeLog
Log message:
2006-06-21 Roman Kennke <address@hidden>
* javax/swing/plaf/basic/BasicTextUI.java
(PropertyChangeHandler.propertyChange): Handle document listener
update here.
(background): Removed unneeded fields.
(inactiveBackground): Remove unneeded fields.
(installUI): Install the document listener. Slightly changed
order of operations. Don't trigger modelChanged().
(installDefaults): Only install properties when the
current properties are null or instances of UIResource.
(installListeners): Removed unnecessary listener installs.
(installDocumentListeners): Removed unneeded method.
(uninstallListeners): Removed unnecessary listener uninstalls.
(modelChanged): Removed call to installDocumentListeners().
* javax/swing/plaf/basic/BasicTextFieldUI.java
(propertyChange): Update the colors by fetching them from
SharedUIDefaults. Fixed conditions.
* javax/swing/plaf/basic/SharedUIDefaults.java
(getColor): New method.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/plaf/basic/BasicTextUI.java?cvsroot=classpath&r1=1.86&r2=1.87
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/plaf/basic/BasicTextFieldUI.java?cvsroot=classpath&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/plaf/basic/SharedUIDefaults.java?cvsroot=classpath&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.7895&r2=1.7896
Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/classpath/classpath/ChangeLog,v
retrieving revision 1.7895
retrieving revision 1.7896
diff -u -b -r1.7895 -r1.7896
--- ChangeLog 21 Jun 2006 12:43:22 -0000 1.7895
+++ ChangeLog 21 Jun 2006 12:57:05 -0000 1.7896
@@ -1,5 +1,26 @@
2006-06-21 Roman Kennke <address@hidden>
+ * javax/swing/plaf/basic/BasicTextUI.java
+ (PropertyChangeHandler.propertyChange): Handle document listener
+ update here.
+ (background): Removed unneeded fields.
+ (inactiveBackground): Remove unneeded fields.
+ (installUI): Install the document listener. Slightly changed
+ order of operations. Don't trigger modelChanged().
+ (installDefaults): Only install properties when the
+ current properties are null or instances of UIResource.
+ (installListeners): Removed unnecessary listener installs.
+ (installDocumentListeners): Removed unneeded method.
+ (uninstallListeners): Removed unnecessary listener uninstalls.
+ (modelChanged): Removed call to installDocumentListeners().
+ * javax/swing/plaf/basic/BasicTextFieldUI.java
+ (propertyChange): Update the colors by fetching them from
+ SharedUIDefaults. Fixed conditions.
+ * javax/swing/plaf/basic/SharedUIDefaults.java
+ (getColor): New method.
+
+2006-06-21 Roman Kennke <address@hidden>
+
* javax/swing/SizeSequence.java
(SizeSequence): Initialize array with correct number of entries.