# HG changeset patch # User psadhukhan # Date 1507525947 -19800 # Node ID 03d27457f7fb4b87fa83441b6b02877177095f51 # Parent 40ba3aa3497006885e3161ecd2b802d2e0038f93 8187989: Documentation error in JComponent.paintComponent Reviewed-by: ssadetsky, serb diff -r 40ba3aa34970 -r 03d27457f7fb 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. *

* The passed in Graphics object might