<Swing Dev> [8] Review request for 8015926: NPE when using SynthTreeUI's expandPath()

Alexander Scherbatiy alexandr.scherbatiy at oracle.com
Mon Jul 22 14:36:37 UTC 2013


    The fix looks good for me.

    Thanks,
    Alexandr.

On 7/22/2013 5:53 PM, sergey malenkov wrote:
> Hello,
>
> Could you please review the following fix:
> fix: http://cr.openjdk.java.net/~malenkov/8015926.8.0/ 
> <http://cr.openjdk.java.net/%7Emalenkov/8015926.8.0/>
> bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8015926
>
> The TreeUI.getPathBounds returns null if the path is not visible.
> So, we should check for null during painting.
>
> Thanks,
> SAM




More information about the swing-dev mailing list