/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package base;


import java.awt.*;
import java.awt.event.*;
import javax.swing.*;

/**
 *
 * @author illi
 */
class DefaultAction extends AbstractAction {

        AbstractButton owner;
    DefaultAction (AbstractButton owner) 
    {        // constructor
        super("DefaultAction");
        this.owner = owner;
    } // end DefaultAction constructor

    public void actionPerformed (ActionEvent e) 
    {
        owner.doClick();
    }
    
}
