com.toedter.components

Class JTitlePanel


public class JTitlePanel
extends JPanel

A simple JPanel with a border and a title
Version:
$LastChangedRevision: 85 $, $LastChangedDate: 2006-04-28 13:50:52 +0200 (Fr, 28 Apr 2006) $
Author:
Kai Toedter

Field Summary

protected JLabel
label
protected JPanel
northPanel

Constructor Summary

JTitlePanel(String title, Icon icon, JComponent content, Border outerBorder)
Constructs a titled panel.

Method Summary

void
setTitle(String label, Icon icon)

Field Details

label

protected JLabel label

northPanel

protected JPanel northPanel

Constructor Details

JTitlePanel

public JTitlePanel(String title,
                   Icon icon,
                   JComponent content,
                   Border outerBorder)
Constructs a titled panel.
Parameters:
title - the title
content - the JComponent that contains the content
outerBorder - the outer border

Method Details

setTitle

public void setTitle(String label,
                     Icon icon)

Copyright B) 1999 - 2006 Kai Toedter.