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

description for Choice.remove(java.lang.String) isn't finished

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: 6
    • Fix Version/s: 6
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b10
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      Name: ad153231 Date: 09/15/2004


      http://java.sun.com/j2se/1.5.0/docs/api/java/awt/Choice.html#remove(java.lang.String)
      has a wrong description:
      "
      public void remove(int position)
      Removes an item from the choice menu at the specified position. If
      the item being removed is the currently selected item, then the first
      item in the choice becomes the selected item.
      Otherwise, the currently selected item remains selected (and the selected index is

      Parameters:
      position - the position of the item
      "

      Possible lost words from remove(String item) are:
      "Otherwise, the currently selected item remains selected (and the selected index is updated accordingly)."
      ======================================================================
      ###@###.### 10/25/04 09:15 GMT

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dav Andrei Dmitriev (Inactive)
              Reporter:
              dav Andrei Dmitriev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: