6922179: SynthTextPaneUI.installUI() doesn't set component to opaque as specified
authorrupashka
Fri, 16 Apr 2010 13:05:14 +0400
changeset 5284 314198fe9a7a
parent 5283 c440afed922d
child 5285 7a74a8db7ef3
6922179: SynthTextPaneUI.installUI() doesn't set component to opaque as specified Reviewed-by: alexp
jdk/src/share/classes/javax/swing/plaf/basic/BasicTextUI.java
--- a/jdk/src/share/classes/javax/swing/plaf/basic/BasicTextUI.java	Fri Apr 16 15:53:18 2010 +0900
+++ b/jdk/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