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

Non-opaque component on JTabbedPane bad

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.0
    • client-libs



      Name: clC74495 Date: 12/18/98


      I think this should be viewed as a bug...
      but I'm not 100% sure...

      If I have a JTabbedPane with a JLabel as the component on the tab,
      and the JLabel has its opaque property as false, the contents of the
      JLabel will overlay on top of the old contents from the previously
      selected tab.

      See sample program in workaround.

      If you uncomment the setOpaque lines, everything is fine. However,
      if you don't and change tabs, prior tab contents are not cleared.
      (Review ID: 48195)
      ======================================================================

            amfowler Anne Fowler (Inactive)
            clucasius Carlos Lucasius (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: