package jAudioFeatureExtractor.actions;

import java.awt.event.ActionEvent;

import javax.swing.AbstractAction;
import javax.swing.JOptionPane;

/**
 * Displays author information about jAudio.
 * @author Daniel McEnnis
 *
 */
public class AboutAction extends AbstractAction {
	static final long serialVersionUID = 1;

	/**
	 * Basic constructor that supplies the menu item with a name.
	 *
	 */
	public AboutAction(){
		super("About...");
	}
	
	/**
	 * Pops up a message giving author information.
	 */
	public void actionPerformed(ActionEvent e) {
		String data = "Created by Cory McKay.  Extended by Daniel McEnnis";
JOptionPane.showMessageDialog(null, data, "jAudio Feature Extractor",
		JOptionPane.INFORMATION_MESSAGE);

	}

}
