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

Choice.removeAll() is too slow

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.1.2, 1.1.6, 1.1.7, 1.3.0
    • client-libs
    • generic, x86
    • generic, windows_nt

      In JDK 1.1, both the List & Choice components had their removeAll()
      method implemented as looping through the elements associated with
      the component, and removing each element separately.
      For large (or frequently updated) components, this takes significant
      UI refresh time.

      In JDK 1.1.2, the removeAll() method for the List component has been
      reimplemented to perform a clear() within the Peer code.

      We need the same change applied to the Choice component, in order
      to see acceptable refresh time.

            dmendenhsunw David Mendenhall (Inactive)
            sgoodsunw Sheri Good (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: