6922179: SynthTextPaneUI.installUI() doesn't set component to opaque as specified
Reviewed-by: alexp
--- 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