KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > gnu > jemacs > swing > IgnoreAction


1 package gnu.jemacs.swing;
2
3 /** An Action that does nothing. */
4
5 public class IgnoreAction extends javax.swing.text.TextAction JavaDoc
6 {
7   private static IgnoreAction instance = new IgnoreAction("(ignore)");
8
9   public static IgnoreAction getInstance() { return instance; }
10
11   public IgnoreAction(String JavaDoc name)
12   {
13     super(name);
14   }
15
16   public void actionPerformed(java.awt.event.ActionEvent JavaDoc event)
17   {
18   }
19 }
20
Popular Tags