add
button.
This adds a new component to the layout which will have a randomly
generated unique color as well as a text label that begins with the letter "C"
followed by a unique number. The GridBagConstraints
for this component will be
the default constraints for the GridBagConstraints
class or those which the user
has set as being the default (See the Edit menu options
to find out how to change the default). The newly added component becomes the current component and will be ringed by red
and green stripes. The highlighting is animated by default but can be made static by going to the
"Component hightlight" option in the edit menu.
The constraints for the current component are displayed in GridBagger's top window.
apply
button is pushed. The
apply
button will be lit-up only when there is a changed constraint which
has not yet been applied.If a new component is added or another component highlighted when the previous constraints have been changed but not applied, GridBagger will ask you if the changes should be ignored.
The insets
constraint is not changed like other constraints. It uses a
unique window which will pop-up when the constraint is selected. It should be noted that
GridBagger allows constraints to be negative and this has meaning to GridBagLayout
.
See the primer page for details on this.