United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4786520 : java.awt.Checkbox.setCheckboxGroup: not clear

Details
Type:
Bug
Submit Date:
2002-11-29
Status:
Resolved
Updated Date:
2003-09-05
Project Name:
JDK
Resolved Date:
2003-09-05
Component:
docs
OS:
solaris_2.6,solaris_7
Sub-Component:
guides
CPU:
sparc
Priority:
P3
Resolution:
Fixed
Affected Versions:
1.4.0
Fixed Versions:
5.0 (tiger)

Related Reports
Relates:

Sub Tasks

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

                                    

Comments
EVALUATION

Committing to tiger.
###@###.### 2003-01-07

Wrote some tests.  Had Brent review the doc.  Approved by CCC. Fixed for tiger.
###@###.### 2003-08-22
                                     
2003-01-07
PUBLIC COMMENTS

.
                                     
2004-06-10
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
tiger

FIXED IN:
tiger

INTEGRATED IN:
tiger
tiger-b19


                                     
2004-06-14



Hardware and Software, Engineered to Work Together