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

No way to set background color of selected tab in JTabbedPane

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.2.0
    • client-libs
    • beta
    • generic
    • generic



      Name: vi73552 Date: 04/16/99


      There's no way to set the color of the selected tab in a
      JTabbedPane. The class has methods called setBackgroundAt() and
      setForegroundAt(), but these set the colors of the unselected
      tabs. The selected tab (in the default look and feel) remains
      gray, no matter what I've specified in setBackgroundAt(), and
      setForegroundAt(). It also remains gray regardless of what the
      background and foreground colors are of the components for each
      tab. It also doesn't depend on the opacity of those components.
      (Review ID: 57040)
      ======================================================================

            amfowler Anne Fowler (Inactive)
            vasya Vassili Igouchkine (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: