-
Bug
-
Resolution: Fixed
-
P5
-
1.4.0
-
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>.