looks
  1. looks
  2. LOOKS-195

TabbedPane does not refresh properly in case of TabLayoutPolicy set to SCROLL_TAB_LAYOUT

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.4.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Windows XP, Java 6

      Description

      The TabbedPane is created with multiple panels added to it (TabLayoutPolicy set to SCROLL_TAB_LAYOUT). The scroll arrows are visible. After removing all panels from TabbedPane (via removeAll() method) the scroll arrow components are still visible and enabled at the tabbedPane. Clicking on arrow causes ArrayOutOfBound exception throwing.

      Problem is not observed if native (default) LAF is used.

      The workaround is to change for a while TabLayoutPolicy to WRAP_TAB_LAYOUT, and then back to SCROLL_TAB_LAYOUT.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            bat_r
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: