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

Use arbitrary (J)Components as JTabbedPane tab labels.

    Details

    • Subcomponent:
    • Resolved In Build:
      b32
    • CPU:
      generic, x86, sparc
    • OS:
      generic, solaris_2.5.1, windows_95, windows_nt, windows_2000, windows_xp

      Description



      Name: boT120536 Date: 09/04/2001


      java version "1.4.0-beta2"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta2-b77)
      Java HotSpot(TM) Client VM (build 1.4.0-beta2-b77, mixed mode)

      It would be useful to be able to use an arbitrary Component as the label for
      JTabbedPane's tabs. This way, for instance, it would be possible to have a text
      label and close button on each tab.

      A good example of what I envision is demonstrated in the "tabbed mode" of the
      Galeon web browser at http://galeon.sourceforge.net. There, you can be browsing
      several pages independently of one another, with a row of tabs along the top,
      one for each such session, like a JTabbedPane with a bunch of JTextPanes would
      look. Each tab in Galeon, however, has a label and a close button (a little X),
      which, when clicked, closes that tab -- even if that tab isn't the currently
      focused tab.
      (Review ID: 131277)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alexp Alexander Potochkin (Inactive)
                Reporter:
                bonealsunw Bret O'neal (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: