United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-4724745 Container.add(Component, Object) docs are imprecise
JDK-4724745 : Container.add(Component, Object) docs are imprecise

Details
Type:
Bug
Submit Date:
2002-08-01
Status:
Resolved
Updated Date:
2003-10-23
Project Name:
JDK
Resolved Date:
2003-10-23
Component:
docs
OS:
windows_98
Sub-Component:
guides
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
1.4.0
Fixed Versions:
5.0 (b26)

Related Reports

Sub Tasks

Description

Name: jl125535			Date: 08/01/2002


A DESCRIPTION OF THE PROBLEM :
This report is a special case of bug 4724585.

The doc for java.awt.Container.add(Component,Object) at

http://java.sun.com/j2se/1.4/docs/api/java/awt/Container.html#add(java.awt.Component, java.lang.Object)

says "notifies the layout manager to add the component to this
container's layout using the specified constraints object."

Unfortunately, the behavior varies depending on whether the
layout manager implements LayoutManager2.  I have
discovered this JDK 1.4 behavior by experiment, but without
clear documentation, I can't depend on this behavior being
the same in 1.5 or 1.3 or even in another release of 1.4.


STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. See the link above. http://java.sun.com/j2se/1.4/docs/api/java/awt/Container.html#add(java.awt.Compo

This bug can be reproduced always.
(Review ID: 147203) 
======================================================================

                                    

Comments
EVALUATION

Will be fixed in next release.
###@###.### 2002-08-05

Reviewed by Brent.  Approved by CCC.  Fixed for tiger.
###@###.### 2003-09-22
                                     
2002-08-05
PUBLIC COMMENTS

.
                                     
2004-06-10
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
generic
tiger-beta

FIXED IN:
tiger
tiger-beta

INTEGRATED IN:
tiger-b26
tiger-beta


                                     
2004-06-14



Hardware and Software, Engineered to Work Together