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

java.awt.Checkbox.setCheckboxGroup: not clear

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 5.0
    • 1.4.0
    • docs
    • tiger
    • sparc
    • solaris_2.6, solaris_7



      Name: sdR10048 Date: 11/29/2002


      JDK1.4.2b07 doc says:

      > public void setCheckboxGroup(CheckboxGroup g)
      >
      > Sets this check box's group to be the specified check box group. If
      > this check box is already in a different check box group, it is first
      > taken out of that group. If the state of this check box is true and
      > the new group already has a check box selected, this check box's state
      > is changed to false.
      >
      > Parameters:
      > g - the new check box group, or null to remove this check box from any
      > check box group.

      It does not say what if the state of this check box is true and the
      new group has not a check box selected. What about new group's
      getSelectedCheckbox() and this box' getState().
      Should be stated explicitly.
      See: http://java.sun.com/j2se/javadoc/writingapispecs/index.html#method
      Need for jck test development.
      Since it will touch javadoc CCC request needed.
      ======================================================================

            sharonz Sharon Zakhour (Inactive)
            dsvsunw Dsv Dsv (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: