JTabbedPane cannot be used as content pane of JFrame?

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.1.6, 1.2.0
    • Component/s: client-libs



      Name: krT82822 Date: 01/12/99


      original synopsis: "JTabbedPane tab repaint problem"

      There is a repaint problem with JTabbedPane that is most easily reproducable by setting a JTabbedPane as the content pane of a frame. To see the
      problem, run the following code:

      JFrame f = new JFrame();
      JTabbedPane tp = new JTabbedPane();
      tp.add("Test", new JPanel());
      f.setContentPane(tp);
      f.setSize(200, 200);
      f.show();

      When the frame shows, partially cover the tab area with another window and then bring the example frame back to the front. You should see the
      tab painted twice.
      (Review ID: 36753)
      ======================================================================

            Assignee:
            Anne Fowler (Inactive)
            Reporter:
            Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: