|
Quick Lists
|
|
Bug ID:
|
4618355
|
|
Votes
|
0
|
|
Synopsis
|
spec for GridBagConstraints.gridwidth(gridheight) is contradictory
|
|
Category
|
guides:none
|
|
Reported Against
|
merlin-rc1
|
|
Release Fixed
|
1.5(tiger-b19)
|
|
State
|
10-Fix Delivered,
Verified,
bug
|
|
Priority:
|
4-Low
|
|
Related Bugs
|
|
|
Submit Date
|
28-DEC-2001
|
|
Description
|
Specification for gridwidth field of GridBagConstraints class states:
"... Specifies the number of cells in a row for the component's
display area. Use REMAINDER to specify that the component be the
last one in its row. Use RELATIVE to specify that the component be
the next-to-last one in its row. ...".
First sentence says that gridwidth affects component's display area,
but second and third sentences say about component's position. Note
that there is another field that controls component's position - gridx.
For example what if one sets gridx to some value and gridwidth to
REMAINDER? Will component be placed last one in its row or according
to gridx. Similar problem with RELATIVE. All above could be applied to
the pair gridheight/gridy (with corresponding changes).
======================================================================
|
|
Work Around
|
N/A
|
|
Evaluation
|
This is correct. Bug fix reviewed by Brent, approved by CCC. Fixed for tiger.
xxxxx@xxxxx 2003-08-21
On the first pass I corrected GridBagLayout. On the second pass I corrected GridBagConstraints. Fixed for tiger.
xxxxx@xxxxx 2003-09-15
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |