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

JTabbedPane scrollable buttons paint incorrectly when setTabPlacement is called

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.4.0
    • client-libs

      When toggling through tabPlacement, with scrollable tabs enabled, the scrollable tab buttons sometimes paint incorrectly in that one of the buttons is missing.

      Source sample attached.
      Steps to repro:
      1. Compile attached .java file
      2. Run the tabThumbs.class
      3. click the setTabLayoutPolicy checkbox
      4. Click LEFT radioButton
      Observe: Scrollable thumb is missing an arrow button
      Note1: If you set LEFT first then click the setTabLayoutPolicy checkbox both arrows appear, but then click TOP and see only one scroll thumb

      Note2: Have yet to try on Solaris, but guessing it is there too. Tested Win98 only.

            amfowler Anne Fowler (Inactive)
            jdixonsunw John Dixon (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: