-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P5
-
Affects Version/s: 1.4.0
-
Component/s: client-libs
-
None
-
beta
-
generic
-
generic
/**
* Returns the background color of this text component.
* Note that a non-editable <code>TextComponent</code>
* will default to the background color.
* <code>SystemColor.control</code>.
*
* @return this text component's background color;
* if this text component does not have a background color,
* the background color of its parent is returned
* @see setBackground
* @since JDK1.0
*/
public Color getBackground() {
if (!editable) {
return SystemColor.control;
}
return super.getBackground();
}
Instead of
* will default to the background color.
* <code>SystemColor.control</code>.
It should read
* will default to <code>SystemColor.control</code>.