changeset 2294:f75f5e2274d5

6922179: SynthTextPaneUI.installUI() doesn't set component to opaque as specified Reviewed-by: alexp
author rupashka
date Fri, 16 Apr 2010 13:05:14 +0400
parents 17d17234a1d9
children 584dcb7ecaf9
files src/share/classes/javax/swing/plaf/basic/BasicTextUI.java
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/javax/swing/plaf/basic/BasicTextUI.java	Fri Apr 16 15:53:18 2010 +0900
+++ b/src/share/classes/javax/swing/plaf/basic/BasicTextUI.java	Fri Apr 16 13:05:14 2010 +0400
@@ -756,9 +756,8 @@
      * things.
      * <ol>
      * <li>
-     * Sets the associated component to opaque (can be changed
-     * easily by a subclass or on JTextComponent directly),
-     * which is the most common case.  This will cause the
+     * Sets the associated component to opaque if the opaque property
+     * has not already been set by the client program. This will cause the
      * component's background color to be painted.
      * <li>
      * Installs the default caret and highlighter into the