public void actionPerformed(ActionEvent ae) {
		String acs = ae.getActionCommand();

		
		if (acs.equals(LANHostPanel.ACTION_OPEN_LANHOST_IN_WWW)) {
			String URL = host.toURL();

			BareBonesBrowserLaunch.openURL(URL);

		} else if (acs.equals(LANHostPanel.SEARCH)) {
			String s = JOptionPane.showInputDialog("Enter some keywords");
			
			if (s != null && s.trim().length() > 0)
			{
				SearchResultsWindow srw = new SearchResultsWindow(s);
				MainDialog.getInstance().showSubWindow(null, srw.getTitle(), srw);
				srw.asyncSearchStartOneHost(host);
			}
		} else if (acs.equals(LANHostPanel.CHAT)) {
			ChatWindowMap cwm = MainDialog.getInstance().chatWindowMap;
			
			if (cwm != null)
			{
				cwm.getChatWindowFor (host).setVisible(true);
				
				cwm.getChatComponentFor(host).tryToFocusInputField ();
			}
		}

	}