JTabbedPane.setComponentAt causes NPE

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 1.3.0
    • Affects Version/s: 1.3.0
    • Component/s: client-libs
    • None
    • kestrel
    • generic, x86
    • generic, windows_nt

      In kestrel-beta, JTabbedPane.setComponentAt now throws an NPE.
      This is happening because setComponentAt invokes remove(int) instead of super.remove(int). remove(int) has the effect of removing the tab, which is not the expected behavior of setComponentAt.

            Assignee:
            Scott Violet (Inactive)
            Reporter:
            Scott Violet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: