# Class GroupPanel

    java.lang.Object
       |
       +----java.awt.Component
               |
               +----java.awt.Container
                       |
                       +----java.awt.Panel
                               |
                               +----GroupPanel

class GroupPanel
extends Panel

Create a panel that allows you to organize related components on a panel surrounded by a raised border. It also allows you to specify a group title.

##

GroupPanel(String)
  Create a new object and assign the title string

##

addNotify()
insets()
  Create new insets
paint(Graphics)
  Paint the border around the group param g the graphics object
setBackground(Color)
  Set the background color

##

GroupPanel

      public GroupPanel(String title)

  Create a new object and assign the title string

##

setBackground

      public synchronized void setBackground(Color c)

  Set the background color
  Parameters:
    c - the background color
  Overrides:
    setBackground in class Component

addNotify

      public void addNotify()

Overrides:
  addNotify in class Panel

insets

      public Insets insets()

  Create new insets
  Overrides:
    insets in class Container

paint

      public void paint(Graphics g)

  Paint the border around the group param g the graphics object
  Overrides:
    paint in class Component