    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class jclass.contrib.JCOutlinePanel

    java.lang.Object
       |
       +----java.awt.Component
               |
               +----java.awt.Container
                       |
                       +----java.awt.Panel
                               |
                               +----jclass.contrib.JCOutlinePanel

public class JCOutlinePanel
extends Panel

JCOutlinePanel is a Panel that has a line drawn around its border. This line is drawn by modifying the panel insets and overriding the paint() member.

A JCOutlinePanel instance must be used exactly as one would use a Panel instance.

##

JCOutlinePanel()
  The default constructor.

##

insets()
  Modifies the default insets to account for the line drawn around the Panel.
paint(Graphics)
  Draws the line.

##

JCOutlinePanel

      public JCOutlinePanel()

  The default constructor. It sets the default layout to null.

##

insets

      public Insets insets()

  Modifies the default insets to account for the line drawn around the Panel. Most layout managers account for the insets, so the line is not overdrawn.

  Overrides:
    insets in class Container

paint

      public void paint(Graphics g)

  Draws the line.

  Overrides:
    paint in class Container

    All Packages  Class Hierarchy  This Package  Previous  Next  Index