-
Bug
-
Resolution: Fixed
-
P4
-
8
-
b05
The documentation for JList.getPreferredScrollableViewportSize() state:
“If the model isn't empty... The height is the fixedCellHeight multiplied by the visibleRowCount, plus the list's vertical insets.”
Here fixedCellHeight must be replaced with “height of the first cell”.
“If the model isn't empty... The height is the fixedCellHeight multiplied by the visibleRowCount, plus the list's vertical insets.”
Here fixedCellHeight must be replaced with “height of the first cell”.
- csr for
-
JDK-8198822 JList.getPreferredScrollableViewportSize(): fix mistake in doc for height calc
-
- Closed
-
- relates to
-
JDK-8166205 JList within JScrollPane returns unexpected preferred size
-
- Closed
-