viewer.setContentType("text/html");
	public HelpViewer(URL url)	{		super(jEdit.getProperty("helpviewer.title"));				history = new URL[25];		ActionHandler actionListener = new ActionHandler();		JPanel panel = new JPanel(new BorderLayout());		panel.add(BorderLayout.WEST,new JLabel(			jEdit.getProperty("helpviewer.url")));		urlField = new JTextField();		urlField.addKeyListener(new KeyHandler());		panel.add(urlField);				getContentPane().add(BorderLayout.NORTH,panel);		viewer = new JEditorPane();		viewer.setEditable(false);		viewer.addHyperlinkListener(new LinkHandler());		getContentPane().add(BorderLayout.CENTER,			new JScrollPane(viewer));		panel = new JPanel();		back = new JButton(jEdit.getProperty("helpviewer.back"));		back.setIcon(new ImageIcon(getClass().getResource(			"/org/gjt/sp/jedit/toolbar/Left.gif")));		back.addActionListener(actionListener);		panel.add(back);		forward = new JButton(jEdit.getProperty("helpviewer.forward"));		forward.setIcon(new ImageIcon(getClass().getResource(			"/org/gjt/sp/jedit/toolbar/Right.gif")));		forward.addActionListener(actionListener);		panel.add(forward);		home = new JButton(jEdit.getProperty("helpviewer.home"));		home.setIcon(new ImageIcon(getClass().getResource(			"/org/gjt/sp/jedit/toolbar/Help.gif")));		home.addActionListener(actionListener);		panel.add(home);				getContentPane().add(BorderLayout.SOUTH,panel);		gotoURL(url,true);				setDefaultCloseOperation(DISPOSE_ON_CLOSE);		setSize(600,400);		GUIUtilities.loadGeometry(this,"helpviewer");		show();	}