Class DialogHeader

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class DialogHeader extends JPanel
A header component meant to be placed at the top of a dialog.
See Also:
  • Constructor Details

    • DialogHeader

      public DialogHeader(String header, String description)
      Constructs the header with the specified text.
      Parameters:
      text - the text to use in the header
  • Method Details

    • getTopLabel

      public JLabel getTopLabel()
    • getBottomLabel

      public JLabel getBottomLabel()
    • replaceBottomLabel

      public void replaceBottomLabel(Component comp)
    • paintComponent

      public void paintComponent(Graphics g)
      Overrides:
      paintComponent in class JComponent
    • setHeaderText

      public void setHeaderText(String txt)
    • setDescText

      public void setDescText(String txt)
    • getDescText

      public String getDescText()