<Swing Dev> [10] RFR JDK-8187989: Documentation error in JComponent.paintComponent

Prasanta Sadhukhan prasanta.sadhukhan at oracle.com
Fri Oct 6 11:12:41 UTC 2017


Hi All,

Please review a doc fix where it mentioned in JComponent.paintComponent()

 > if this component is opaque, you must completely fill in the 
background in a non-opaque color
It should read "opaque color", or "non-transparent color".

webrev:http://cr.openjdk.java.net/~psadhukhan/8187989/webrev.00/
Bug: https://bugs.openjdk.java.net/browse/JDK-8187989

Regards
Prasanta



More information about the swing-dev mailing list