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

Alexander Scherbatiy alexandr.scherbatiy at oracle.com
Fri Feb 13 15:42:51 UTC 2015


   The fix looks good to me.

   Thanks,
   Alexandr.

On 2/13/2015 3:15 PM, Anton Nashatyrev 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