[cp-patches] FYI: BasicTreeUI fix

Roman Kennke roman at kennke.org
Tue Apr 3 20:42:05 UTC 2007


This fixes BasicTreeUI.getPathBounds() to also consider the tree's
insets, plus it adds a bunch of null checks for safety (all of this
stuff is public API and can thus be overridden to return null, so...).

2007-04-03  Roman Kennke  <roman at kennke.org>

	* javax/swing/plaf/basic/BasicTreeUI.java
	(getPathBounds): Consider the tree's insets. Added a bunch of
	null checks.

/Roman

-- 
http://kennke.org/blog/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-patch
Size: 3911 bytes
Desc: not available
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20070403/1a179053/patch-0001.bin


More information about the Classpath-patches mailing list