-
Bug
-
Resolution: Duplicate
-
P3
-
7u40
-
windows_xp
A DESCRIPTION OF THE PROBLEM :
Description of the rowHeights[] field currently reads (triangular brackets added to show problem spot) :
"If rowHeights has more elements than the number of rows, <rowa> are added to the gridbag to match the number of elements in rowHeights."
rowa should read rows, as it does in the similar description of "columnWidths" with "columns"
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
This field holds the overrides to the row minimum heights. If this field is non-null the values are applied to the gridbag after all of the minimum row heights have been calculated. If rowHeights has more elements than the number of rows, rows are added to the gridbag to match the number of elements in rowHeights.
ACTUAL -
This field holds the overrides to the row minimum heights. If this field is non-null the values are applied to the gridbag after all of the minimum row heights have been calculated. If rowHeights has more elements than the number of rows, rowa are added to the gridbag to match the number of elements in rowHeights.
URL OF FAULTY DOCUMENTATION :
http://docs.oracle.com/javase/7/docs/api/java/awt/GridBagLayout.html#rowHeights
Description of the rowHeights[] field currently reads (triangular brackets added to show problem spot) :
"If rowHeights has more elements than the number of rows, <rowa> are added to the gridbag to match the number of elements in rowHeights."
rowa should read rows, as it does in the similar description of "columnWidths" with "columns"
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
This field holds the overrides to the row minimum heights. If this field is non-null the values are applied to the gridbag after all of the minimum row heights have been calculated. If rowHeights has more elements than the number of rows, rows are added to the gridbag to match the number of elements in rowHeights.
ACTUAL -
This field holds the overrides to the row minimum heights. If this field is non-null the values are applied to the gridbag after all of the minimum row heights have been calculated. If rowHeights has more elements than the number of rows, rowa are added to the gridbag to match the number of elements in rowHeights.
URL OF FAULTY DOCUMENTATION :
http://docs.oracle.com/javase/7/docs/api/java/awt/GridBagLayout.html#rowHeights
- duplicates
-
JDK-8022746 List of spelling errors in API doc
- Resolved