8187989: Documentation error in JComponent.paintComponent
Reviewed-by: ssadetsky, serb
--- a/src/java.desktop/share/classes/javax/swing/JComponent.java Sat Oct 07 15:58:45 2017 +0100
+++ b/src/java.desktop/share/classes/javax/swing/JComponent.java Mon Oct 09 10:42:27 2017 +0530
@@ -778,7 +778,7 @@
* invoker super's implementation you must honor the opaque property,
* that is
* if this component is opaque, you must completely fill in the background
- * in a non-opaque color. If you do not honor the opaque property you
+ * in an opaque color. If you do not honor the opaque property you
* will likely see visual artifacts.
* <p>
* The passed in <code>Graphics</code> object might