KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > rero > gui > toolbar > AboutAction


1 package rero.gui.toolbar;
2
3 import rero.gui.*;
4
5 import java.awt.event.*;
6 import javax.swing.*;
7 import rero.client.*;
8 import rero.client.script.*;
9 import rero.config.*;
10
11 public class AboutAction implements ToolAction
12 {
13    public void actionPerformed(MouseEvent ev)
14    {
15       if (ev.isShiftDown() && ev.isControlDown())
16       {
17          SessionManager.getGlobalCapabilities().showCoolAbout();
18       }
19       else
20       {
21          SessionManager.getGlobalCapabilities().showAboutDialog();
22       }
23    }
24
25    public String JavaDoc getDescription()
26    {
27       return "About: jIRCii, the ultimate irc client";
28    }
29
30    public int getIndex()
31    {
32       return 36;
33    }
34 }
35
Popular Tags