Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4384398

Scroll buttons are not displayed properly on changing tab placements at runtime.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.0
    • 1.4.0
    • client-libs
    • None
    • beta
    • generic, x86
    • generic, windows_98
    • Verified

      Scroll buttons are not getting displayed properly in JTabbedPane with SCROLL_TAB_LAYOUT on changing the tab placement at runtime using setTabPlacement() method.

      Find attached test case with the bug report.

      To Reproduce the bug :

      1) Compile and run the attached Java File.
      2) In this Java class, JTabbedPane is constructed with tab placement as TOP, but modified the tab placement to RIGHT.

      Result : The scroll buttons are not getting displayed even though it is unable to display all the tabs.

            amfowler Anne Fowler (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: