1 |
2005-09-08 Roman Kennke <kennke@aicas.com> |
2005-09-08 Roman Kennke <kennke@aicas.com> |
2 |
|
|
3 |
* javax/swing/plaf/basic/BasicTextUI.java |
* javax/swing/plaf/basic/BasicTextUI.java |
4 |
|
(foreground): Removed this field. This is better stored |
5 |
|
in the text component itself. |
6 |
|
(inactiveForeground): Removed this field. This is stored |
7 |
|
in the disabledTextColor property of the text component. |
8 |
|
(installDefaults): Load foreground and disabledTextColor |
9 |
|
properties from UIDefaults. |
10 |
|
(updateComponentColor): Removed check for the enabled property. |
11 |
|
This is now done in javax.swing.text.PlainView. |
12 |
|
* javax/swing/text/PlainView.java |
13 |
|
(disabledColor): New field. Stores the text color for disabled |
14 |
|
text fields. |
15 |
|
(drawUnselectedText): Respect the 'enabled' property of |
16 |
|
the text component. |
17 |
|
(paint): Fetch the disabled color of the text component. |
18 |
|
|
19 |
|
2005-09-08 Roman Kennke <kennke@aicas.com> |
20 |
|
|
21 |
|
* javax/swing/plaf/basic/BasicTextUI.java |
22 |
(UpdateHandler.propertyChanged): Also update colors if the |
(UpdateHandler.propertyChanged): Also update colors if the |
23 |
'editable' property is changed. |
'editable' property is changed. |
24 |
(updateComponentColors): Correctly handle editable vs. enabled |
(updateComponentColors): Correctly handle editable vs. enabled |