Class UserHelp

Implemented Interfaces:
ActionListener, HyperlinkListener

public class UserHelp
extends JFrame
implements HyperlinkListener, ActionListener

Loading the user help in html format in a new window. only very easy html Author: Christiane Adler

Field Summary

private JButton
homeButton
private JEditorPane
htmlPane
private String
initialURL
private JTextField
urlField

Constructor Summary

UserHelp(String initialURL)

Method Summary

void
actionPerformed(ActionEvent event)
void
hyperlinkUpdate(HyperlinkEvent event)
Overwrite the methode with the same name of the super class repaint the window
private void
warnUser(String message)
Shows an error message in a MessageBox

Field Details

homeButton

private JButton homeButton

htmlPane

private JEditorPane htmlPane

initialURL

private String initialURL

urlField

private JTextField urlField

Constructor Details

UserHelp

public UserHelp(String initialURL)

Method Details

actionPerformed

public void actionPerformed(ActionEvent event)

hyperlinkUpdate

public void hyperlinkUpdate(HyperlinkEvent event)
Overwrite the methode with the same name of the super class repaint the window

warnUser

private void warnUser(String message)
Shows an error message in a MessageBox