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

Documentation typo: JComboBox(Vector<?> items)

XMLWordPrintable

    • b82
    • x86
    • windows_xp

      A DESCRIPTION OF THE PROBLEM :
      On page:
      http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JComboBox.html

      JComboBox

      public JComboBox(Vector<?> items)

          Creates a JComboBox that contains the elements in the specified Vector. By default the first item in the vector and therefore the data model) becomes selected.

          Parameters:
              items - an array of vectors to insert into the combo box
          See Also:
              DefaultComboBoxModel



      Should have a '(' before the word "and".



      REPRODUCIBILITY :
      This bug can be reproduced always.

            shickeysunw Shannon Hickey (Inactive)
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: