Class AboutDialog

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class AboutDialog extends PFCDialog
This provides a common About Box component for all the Portal applications. This sets up a dialog with a background image and specified About text. After creating the dialog, just invoke setVisible(true) to display the dialog.

Author:
Raghu Venkateshwaran, Max Spivak
See Also:
  • Constructor Details

    • AboutDialog

      public AboutDialog(JFrame frame)
      Create About dialog using default values for both title and content.
      Parameters:
      frame - Dialog's parent frame
    • AboutDialog

      public AboutDialog(JFrame frame, JPanel optPanel)
      Create About dialog using default values for both title and content.
      Parameters:
      frame - Dialog's parent frame
      optPanel - If specified this panel will be displayed on the system tab
    • AboutDialog

      public AboutDialog(JFrame frame, String title)
      Create About dialog using default values for dialog content.
      Parameters:
      frame - Dialog's parent frame
      title - Dialog title
    • AboutDialog

      public AboutDialog(JFrame frame, String title, String text)
    • AboutDialog

      public AboutDialog(JFrame frame, String title, String text, JPanel optPanel)
      Constructor that takes a parent frame, title and the about box text as parameters.
  • Method Details

    • setText

      public void setText(String text)
      Set the About Dialog text
    • getText

      public String getText()
      Returns the About box text