<Swing Dev> [8] Review request for 8015926: NPE when using SynthTreeUI's expandPath()
sergey malenkov
sergey.malenkov at oracle.com
Mon Jul 22 13:53:04 UTC 2013
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