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

java.awt.Checkbox.setCheckboxGroup: clarification needed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 5.0
    • 1.4.0
    • docs
    • beta2
    • sparc
    • solaris_7

    Description

      Name: sdR10048 Date: 11/05/2002


      JDK1.4.2b05 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 is not quite clear what is the expected checkbox state behaviour if
      it was true before and param 'g' == null. Should be stated explicitly.
      See: http://java.sun.com/j2se/javadoc/writingapispecs/index.html#method
      Need for jck test development.
      ======================================================================
      ###@###.### 2004-05-12

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: