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

JavaDoc of index parameter of method JTabbedPane.insertTab

    XMLWordPrintable

Details

    • b10
    • generic
    • generic

    Description

      A DESCRIPTION OF THE PROBLEM :
      JavaDoc of index parameter of method JTabbedPane.insertTab(String title, Icon icon, Component component, String tip, int index) incorrectly states that index must be greater than 0, when in fact it may be 0.

      Currently: index - the position to insert this new tab (> 0 and <= getTabCount())
      Must be: index - the position to insert this new tab (>= 0 and <= getTabCount())


      Attachments

        1. TabbedPaneDemo.java
          2 kB
          Praveen Narayanaswamy

        Issue Links

          Activity

            People

              tr Tejesh R
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: