JList.getPreferredScrollableViewportSize(): fix mistake in doc for height calc

XMLWordPrintable

      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”.

            Assignee:
            Alexey Ivanov
            Reporter:
            Alexey Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: