/*******************************************************************************
* Copyright (c) 2003-2005, 2013 Till Zoppke.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html
*
* Contributors:
* Till Zoppke - initial API and implementation
******************************************************************************/
/*
* Created on 02.05.2004
*/
package eniac.menu.action;
import java.awt.event.ActionEvent;
import eniac.Manager;
import eniac.lang.Dictionary;
import eniac.menu.action.gui.TextPanel;
/**
* @author zoppke
*/
public class About extends EAction {
/**
* @param e
* @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
*/
public void actionPerformed(ActionEvent e) {
// create dialog that displays information
TextPanel panel = new TextPanel(Dictionary.ABOUT_TEXT.getText());
panel.init();
Manager.getInstance().makeDialog(panel, Dictionary.ABOUT_NAME.getText());
// dialog closed. Nothing to do any more
}
}