JDK-4622519 : Specification for some methods of GridBagLayout is incomplete
  • Type: Bug
  • Component: docs
  • Sub-Component: guides
  • Affected Version: 1.4.0,5.0
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic,solaris_2.5
  • CPU: generic,sparc
  • Submitted: 2002-01-11
  • Updated: 2017-05-16
  • Resolved: 2009-04-08
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 Availability Release.

To download the current JDK release, click here.
Other
5.0 tigerFixed
Description
Name: idR10193			Date: 01/11/2002


Specification for the listed below methods of GridBagLayout is
incomplete. Their specification does not describe full enough 
what they are intended for, though sometimes it says something 
about what they do. For example arrangeGrid's specification is:
"Lay out the grid". Does it only compute size of cells? Or it also
moves and shapes components? Or anything else?

protected void adjustForGravity(GridBagConstraints constraints,
                                Rectangle r)

protected void AdjustForGravity(GridBagConstraints constraints,
                                Rectangle r)

protected void arrangeGrid(Container parent)

protected void ArrangeGrid(Container parent)

protected Dimension getMinSize(Container parent,
                               java.awt.GridBagLayoutInfo info)

protected Dimension GetMinSize(Container parent,
                               java.awt.GridBagLayoutInfo info)

protected java.awt.GridBagLayoutInfo getLayoutInfo(Container parent,
                                                   int sizeflag)

protected java.awt.GridBagLayoutInfo GetLayoutInfo(Container parent,
                                                   int sizeflag

These methods specification needs clarification.

Please note that all these methods are protected.

Comment: These methods seem to be for internal use only. In case they
are intended for override their specification must be more full. 
One can not write valid override basing on one sentence of specification.

======================================================================

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: generic tiger FIXED IN: tiger INTEGRATED IN: tiger tiger-b19 VERIFIED IN: 1.5
17-09-2004

PUBLIC COMMENTS .
17-09-2004

EVALUATION Change reviewed by Brent. Approved by CCC. Fixed for tiger. ###@###.### 2003-08-26
26-08-2003