The GroupBox control provides an extension to the java.awt.Panel control which displays a surrounding box and an optional title. This gives the same appearance as both OS/2 and Windows group boxes. For all intents and purposes, a GroupBox may be used where, when and how a java.awt.Panel may be used.
This is an example (from the SAMPLES.ZIP file) of what a GroupBox looks like:
There is only one class involved with implementing this control.
GroupBox | The visual group box control. |