8187989: Documentation error in JComponent.paintComponent
authorpsadhukhan
Mon, 09 Oct 2017 10:42:27 +0530
changeset 47380 03d27457f7fb
parent 47379 40ba3aa34970
child 47381 6cd8fe45ac91
8187989: Documentation error in JComponent.paintComponent Reviewed-by: ssadetsky, serb
src/java.desktop/share/classes/javax/swing/JComponent.java
--- 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