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

java.awt.Checkbox.setCheckboxGroup: not clear

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 5.0
    • Component/s: docs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      tiger
    • CPU:
      sparc
    • OS:
      solaris_2.6, solaris_7

      Description



      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.
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: