View Javadoc

1   /**
2    * This program is free software; you can redistribute it and/or modify
3    * it under the terms of the GNU General Public License version 2 as 
4    * published by the Free Software Foundation;
5    */
6   
7   package net.curre.prefcount.event;
8   
9   import java.awt.event.ActionListener;
10  import java.awt.event.ActionEvent;
11  
12  import net.curre.prefcount.PrefCountRegistry;
13  
14  /**
15   * Object of this class represents the
16   * "About PrefCount" menu item action listener.
17   * <p/>
18   * Created date: Jul 29, 2007
19   *
20   * @author Zhenya Nyden
21   */
22  public class AboutActionListener implements ActionListener {
23  
24    /**
25     * Shows the About information.
26     * <p/> 
27     * {@inheritDoc}
28     */
29    public void actionPerformed(ActionEvent actionEvent) {
30      PrefCountRegistry.getInstance().getMainWindow().showAboutInfo();
31    }
32    
33  }