Class JTitlePanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

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
See Also:
  • Field Details

    • northPanel

      protected JPanel northPanel
    • label

      protected JLabel label
  • 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)