1 import java.awt.event.ActionEvent;
2 import java.io.IOException;
3 
4 import javax.swing.AbstractAction;
5 
6 import com.apple.eio.FileManager;
7 // $Id: MacHelpAction.java,v 1.1 2004/10/05 21:32:34 tichy Exp $
8 
9 /**
10 * Externalized help action taken from {@link HelloMac}.
11 * 
12 * @author $Author: tichy $
13 */
14public class MacHelpAction extends AbstractAction {
15    public void actionPerformed( ActionEvent e ) {
16        try {
17          FileManager.openURL("http://www.swixml.org/apidocs/index.html");
18        } catch (IOException e1) {
19          e1.printStackTrace();
20        }
21      }
22}
23