<Swing Dev> [9] Review request for 8072676: [macosx] Jtree icon painted over label when scrollbars present in window

Sergey Bylokhov sergey.bylokhov at oracle.com
Mon Feb 16 15:49:10 UTC 2015


Thanks! The fix looks good.

----- anton.nashatyrev at oracle.com wrote:

> Hi Sergey,
> 
>      thanks for review!
>      Could you please take a look at the version with the test:
> http://cr.openjdk.java.net/%7Eanashaty/8072676/9/webrev.01
> 
> Thanks!
> Anton.
> 
> On 13.02.2015 20:32, Sergey Bylokhov wrote:
> > Hi, Anton.
> > Is it possible to write a test for this issue?
> >
> > ----- anton.nashatyrev at oracle.com wrote:
> >
> >> Hello,
> >>       could you please review the following fix:
> >>
> >> fix: http://cr.openjdk.java.net/~anashaty/8072676/9/webrev.00/
> >> <http://cr.openjdk.java.net/%7Eanashaty/8072676/9/webrev.00/>
> >> bug: https://bugs.openjdk.java.net/browse/JDK-8072676
> >>
> >>       Problem: Tree icon is painted outside of the component
> bounds
> >>
> >>       Fix: when painting the icon the Graphics.clip() should be
> used
> >> instead of Graphics.setClip().
> >>
> >> Thanks!
> >> Anton.



More information about the swing-dev mailing list