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

JTabbedPane scrollable buttons fail to work on second JTabbedPane Creation

XMLWordPrintable

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

      When creating a Frame with a JTabbedPane from a default constructor and then launching another JFrame, from that JFrame, that has a JTabbedPane with scrollable tabs the scrollable thumbs fail to scroll in the second JTabbedPane.

      Source sample attached.
      Steps to repro:
      1. Compile both attached .java files
      2. Run the JFrame1.class
      3. Click the button to load up the 2nd JFrame (with the 2nd JTabbedPane)
      Observe: Scrollable buttons do not scroll

      Note1: If the first one is set scrollable as well (in ctor) all is well.
      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: