-
Bug
-
Resolution: Fixed
-
P4
-
1.3.0
-
merlin
-
sparc
-
solaris_2.6
Name: sdC67446 Date: 10/26/99
The doc for method
public int getPreferredWidth(Rectangle bounds)
of class
javax.swing.tree.AbstractLayoutCache
says:
public int getPreferredWidth(Rectangle bounds)
Returns the preferred width for the passed in region. If bounds
is null, the preferred width for all the nodes will be returned
(and this may be VERY expensive).
The doc should clarify what does it mean "preferred width for the
passed in region":
- the maximum width of the path which fits into the 'bounds'
or
- the minimum width of the path that is greater than or equal to
'bounds'.width
======================================================================