org.openscience.jmol.app

Class WhatsNewDialog

public class WhatsNewDialog extends JDialog implements HyperlinkListener

Nested Class Summary
classWhatsNewDialog.PageLoader
temporary class that loads synchronously (although later than the request so that a cursor change can be done).
Field Summary
JEditorPanehtml
Constructor Summary
WhatsNewDialog(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

WhatsNewDialog

public WhatsNewDialog(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()