1
2 package hoplugins.teamAnalyzer.ui.controller;
3
4 import hoplugins.commons.utils.PluginProperty;
5
6 import hoplugins.teamAnalyzer.SystemManager;
7 import hoplugins.teamAnalyzer.ui.component.AboutPanel;
8
9 import java.awt.event.ActionEvent;
10 import java.awt.event.ActionListener;
11
12 import javax.swing.JOptionPane;
13
14
15 /***
16 * Action listener for the about menu item
17 *
18 * @author <a href=mailto:draghetto@users.sourceforge.net>Massimiliano Amato</a>
19 */
20 public class AboutItemListener implements ActionListener {
21
22
23 /***
24 * Action performed event listener, show the about panel
25 *
26 * @param arg0 the event
27 */
28 public void actionPerformed(ActionEvent arg0) {
29 JOptionPane.showMessageDialog(SystemManager.getPlugin().getPluginPanel(), new AboutPanel(),
30 PluginProperty.getString("Menu.About"),
31 JOptionPane.PLAIN_MESSAGE);
32 ;
33 }
34 }