Class HelpDialog

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, HyperlinkListener, RootPaneContainer, WindowConstants
Direct Known Subclasses:
CreditsDialog, WhatsNewDialog

public class HelpDialog extends JDialog implements HyperlinkListener
See Also:
  • Field Details

  • Constructor Details

    • HelpDialog

      public HelpDialog(JFrame fr)
    • HelpDialog

      public HelpDialog(JFrame fr, String title, boolean modal)
    • HelpDialog

      public HelpDialog(JFrame fr, URL url)
      If url is null, then the default help url is taken.
      Parameters:
      fr -
      url -
  • Method Details

    • init

      protected void init(URL url, String resource)
    • hyperlinkUpdate

      public void hyperlinkUpdate(HyperlinkEvent e)
      Specified by:
      hyperlinkUpdate in interface HyperlinkListener
    • linkActivated

      protected void linkActivated(URL u)
      Follows the reference in an link. The given url is the requested reference. By default this calls setPage, and if an exception is thrown the original previous document is restored and a beep sounded. If an attempt was made to follow a link, but it represented a malformed url, this method will be called with a null argument.
      Parameters:
      u - the URL to follow
    • centerDialog

      protected void centerDialog()
    • OKPressed

      public void OKPressed()