org.openscience.jmol.app

Class AboutDialog

public class AboutDialog extends JDialog implements HyperlinkListener

Nested Class Summary
classAboutDialog.PageLoader
temporary class that loads synchronously (although later than the request so that a cursor change can be done).
Field Summary
JEditorPanehtml
Constructor Summary
AboutDialog(JFrame fr)
Method Summary
protected voidcenterDialog()
voidhyperlinkUpdate(HyperlinkEvent e)
protected voidlinkActivated(URL u)
Follows the reference in an link.
voidOKPressed()

Field Detail

html

JEditorPane html

Constructor Detail

AboutDialog

public AboutDialog(JFrame fr)

Method Detail

centerDialog

protected void centerDialog()

hyperlinkUpdate

public void hyperlinkUpdate(HyperlinkEvent e)

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

OKPressed

public void OKPressed()