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

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

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

prasanta sadhukhan
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
Reply | Threaded
Open this post in threaded view
|

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

Semyon Sadetsky
+1

--Semyon


On 10/6/17 4:12 AM, Prasanta Sadhukhan wrote:

> 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

Reply | Threaded
Open this post in threaded view
|

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

Sergey Bylokhov
In reply to this post by prasanta sadhukhan
Looks fine.

On 10/6/17 04:12, Prasanta Sadhukhan wrote:

> 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


--
Best regards, Sergey.