Class StandardDialog.DefaultStandardDialogPane

All Implemented Interfaces:
ButtonNames, ImageObserver, MenuContainer, Serializable, Accessible
Enclosing class:
StandardDialog

protected class StandardDialog.DefaultStandardDialogPane extends StandardDialogPane
See Also:
  • Constructor Details

    • DefaultStandardDialogPane

      protected DefaultStandardDialogPane()
  • Method Details

    • createBannerPanel

      public JComponent createBannerPanel()
      Description copied from class: StandardDialogPane
      Subclasses should implement this method to create the banner panel. By default banner panel will appear on top of the dialog unless you override initComponent() method. Banner panel is really used to balance the layout of dialog to make the dialog looking good. However it can be used to show some help text. It is highly recommended to use our BannerPanel

      If subclass doesn't want to have a banner panel, just return null.

      Specified by:
      createBannerPanel in class StandardDialogPane
      Returns:
      the banner panel.
    • createContentPanel

      public JComponent createContentPanel()
      Description copied from class: StandardDialogPane
      Subclasses should implement this method to create the content panel. This is the main panel of the dialog which will be added to the center of the dialog. Subclass should never return null.
      Specified by:
      createContentPanel in class StandardDialogPane
      Returns:
      the content panel.
    • createButtonPanel

      public ButtonPanel createButtonPanel()
      Description copied from class: StandardDialogPane
      Subclasses should implement this method to create the button panel. 90% of dialogs have buttons. It is highly recommended to use our ButtonPanel.
      Specified by:
      createButtonPanel in class StandardDialogPane
      Returns:
      the button panel.
      See Also: