-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
6
-
x86
-
windows_vista
FULL PRODUCT VERSION :
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Windows Vista [Version 6.0.6000]
A DESCRIPTION OF THE PROBLEM :
the Javadoc for JComponent.paintComponent says:
"Further, if you do not 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 will likely see visual artifacts."
That does not make sense. I think "non-opaque" should read "opaque".
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
look at the JavaDoc.
REPRODUCIBILITY :
This bug can be reproduced always.
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Windows Vista [Version 6.0.6000]
A DESCRIPTION OF THE PROBLEM :
the Javadoc for JComponent.paintComponent says:
"Further, if you do not 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 will likely see visual artifacts."
That does not make sense. I think "non-opaque" should read "opaque".
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
look at the JavaDoc.
REPRODUCIBILITY :
This bug can be reproduced always.
- duplicates
-
JDK-8187989 Documentation error in JComponent.paintComponent
- Resolved