-
Bug
-
Resolution: Fixed
-
P4
-
1.2.1
-
beta
-
sparc
-
solaris_2.5.1
Name: sdC67446 Date: 04/07/99
The doc for inner class
javax.swing.tree.DefaultTreeCellEditor.EditorContainer says nothing
about the behaviour of:
public Dimension getPreferredSize()
For example:
it currently calculates Dimension.width like this:
width =
Math.max(editingComponent.getPreferredSize()+offset+5, // 5 ?!
100) // 100 ?!
The doc says:
________
public Dimension getPreferredSize()
Returns the preferred size for the Container. This will be the
preferred size of the editor offset by offset.
Overrides:
getPreferredSize in class Container
________
======================================================================