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

DefaultListModel and DefaultComboBoxModel should support addAll (Collection c)

    Details

    • Subcomponent:
    • Resolved In Build:
      b13
    • CPU:
      x86
    • OS:
      windows_xp

      Description



      Name: jk109818 Date: 04/03/2003


      FULL PRODUCT VERSION :
      java version "1.4.1"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-b21)
      Java HotSpot(TM) Client VM (build 1.4.1-b21, mixed mode)

      A DESCRIPTION OF THE PROBLEM :
      The default list models (DefaultListModel and
      DefaultComboBoxModel) in Swing do not provide a function for
      multiple element insertion. Specifically, they do not
      support the bulk adding of all of the elements in a
      Collection. Adding the elements of a Collection
      individually requires more code and, since each addition to
      a model causes an event notification, is slower.

      REPRODUCIBILITY :
      This bug can be reproduced always.
      (Review ID: 181289)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kaddepalli Krishna Addepalli
                Reporter:
                jkimsunw Jeffrey Kim (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: