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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 6
    • 6
    • client-libs
    • b10
    • generic
    • generic
    • Verified

      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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: