JDK-4724745 : Container.add(Component, Object) docs are imprecise
  • Type: Bug
  • Component: docs
  • Sub-Component: guides
  • Affected Version: 1.4.0
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_98
  • CPU: x86
  • Submitted: 2002-08-01
  • Updated: 2017-05-16
  • Resolved: 2003-10-23
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availabitlity Release.

To download the current JDK release, click here.
Other
5.0 b26Fixed
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
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

PUBLIC COMMENTS .
2004-06-10

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