1
2
3
4 package net.sf.jtreemap.swing.provider;
5
6 import java.awt.event.ActionEvent;
7
8 import javax.swing.AbstractAction;
9 import javax.swing.JOptionPane;
10
11 class AboutAction extends AbstractAction {
12 private static final long serialVersionUID = -8559400862920393294L;
13
14
15
16
17
18
19
20
21
22 public AboutAction() {
23 super("About");
24 }
25
26
27
28
29
30
31 @Override
32 public void actionPerformed(final ActionEvent e) {
33 JOptionPane.showMessageDialog(null, "<html>JTreeMap powered by <a href=\"http://www.ObjectLab.co.uk\">ObjectLab.co.uk</a></html>");
34 }
35
36
37
38
39
40
41 @Override
42 public boolean isEnabled() {
43 return true;
44 }
45 }