Java SE 6 introduced a powerful layout manager called
GroupLayout, which is the default layout manager in the NetBeans IDE (www.netbeans.org). In this appendix, we overview
GroupLayout, then demonstrate how to use the NetBeans IDE’s Matisse GUI designer to create a GUI using
GroupLayout to position the components. NetBeans generates the
GroupLayout code for you automatically. Though you can write
GroupLayout code by hand, in most cases you’ll use a GUI design tool like the one provided by NetBeans to take advantage of
GroupLayout’s power. For more details on
GroupLayout, see the list of web resources at the end of this appendix.