Name: idR10193 Date: 12/28/2001
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).