Code Sample: Swing Components Demo v1.0
October 5th, 2008
The Swing Components Demo displays examples of a number of standard UI components. A number of the components use some form of listener to output tracking information to standard output.
Be sure to take a look at the code as this sample is intended as a reference or tutorial. A number of configuration settings for each component are indicated in the code itself. Feel free to play around with these settings to see their effects on the UI.
The main layout of the components uses a GridBagLayout. A full description of how to use GridBagLayout is outside the scope of this sample. There is still value in looking over its use, however the in code documentation on its usage is intentionally admitted for now. I’ll probably do a specific sample dedicated to GridBagLayout and its usage.
The attached code is released under the GNU General Public License.

