package eg;

import java.awt.event.ActionListener;

import java.awt.event.ActionEvent;
import javax.swing.AbstractAction;
import javax.swing.Icon;

/**
 * The action whose <code>actionPerformed</code> method uses
 * the <code>ActionListener</code> specified in the constructor
 */
public class FunctionalAction extends AbstractAction {
      
   private final ActionListener al;
   
   /**
    * @param name  the name for the action, null to ignore
    * @param icon  the icon for the control, null to ignore
    * @param al  the <code>ActionListener</code>
    */
   public FunctionalAction(String name, Icon icon, ActionListener al) {
      super(name, icon);
      this.al = al;
   }
   
   @Override
   public void actionPerformed(ActionEvent e) {
      al.actionPerformed(e);
   }
} 

@@ -329,22 +329,16 @@
 ction %7B%0A
-      
 %0A   priv
@@ -366,19 +366,16 @@
 ner al;%0A
-   
 %0A   /**%0A
@@ -671,19 +671,16 @@
 l;%0A   %7D%0A
-   
 %0A   @Ove
@@ -768,10 +768,9 @@
 ;%0A   %7D%0A%7D
- 
 %0A

remove spaces