< Back
Page 3 of 3
Like this article? We recommend
What’s Next?
Now that you’ve reviewed GBLDemo’s 10 constraint combinations, run this application and verify resulting layouts via java GBLDemo x, where x is an integer that identifies a combination. For example, invoke java GBLDemo 1 to run combination 1. After you finish, consider creating your own GBLDemo combinations while continuing to explore GridBagLayout.
In part 2 of this series, I’ll show you how to lay out realistic GUIs with GridBagLayout.
< Back
Page 3 of 3