changeset 47380:03d27457f7fb

8187989: Documentation error in JComponent.paintComponent Reviewed-by: ssadetsky, serb
author psadhukhan
date Mon, 09 Oct 2017 10:42:27 +0530
parents 40ba3aa34970
children 6cd8fe45ac91
files src/java.desktop/share/classes/javax/swing/JComponent.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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