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 |
4 |
|
(UpdateHandler.propertyChanged): Update the components colors |
5 |
|
when the state of the 'enabled' property changes. |
6 |
|
(foreground): New field that stores the foreground color. |
7 |
|
(background): New field that stores the background color. |
8 |
|
(inactiveForeground): New field that stores the inactive |
9 |
|
foreground color. |
10 |
|
(inactiveBackground): New field that stores the inactive |
11 |
|
background color. |
12 |
|
(updateComponentColors): New method. Updates the text |
13 |
|
components' colors according to the state of the 'enabled' |
14 |
|
property. |
15 |
|
(installDefaults): Load the defaults for the component colors. |
16 |
|
* javax/swing/plaf/metal/MetalLookAndFeel.java |
17 |
|
(initComponentDefaults): Added defaults for TextField colors |
18 |
|
and border. |
19 |
|
|
20 |
|
2005-09-08 Roman Kennke <kennke@aicas.com> |
21 |
|
|
22 |
* javax/swing/text/GapContent.java |
* javax/swing/text/GapContent.java |
23 |
Fixes Bug #22966. |
Fixes Bug #22966. |
24 |
(GapContentPosition.getOffset): Added assertion to check for |
(GapContentPosition.getOffset): Added assertion to check for |