
org.fife.tmm.AboutAction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tokenmakermaker Show documentation
Show all versions of tokenmakermaker Show documentation
An application to easily create syntax highlighting for custom languages in RSyntaxTextArea.
The newest version!
/*
* 04/14/2012
*
* AboutAction.java - Displays the About dialog.
*
* This library is distributed under a modified BSD license. See the included
* RSyntaxTextArea.License.txt file for details.
*/
package org.fife.tmm;
import java.awt.event.ActionEvent;
import org.fife.ui.app.AppAction;
/**
* Displays the About dialog.
*
* @author Robert Futrell
* @version 1.0
*/
public class AboutAction extends AppAction {
/**
* Constructor.
*
* @param app The parent application.
*/
public AboutAction(TokenMakerMaker app) {
super(app, app.getResourceBundle(), "About");
}
/**
* Called when this action is performed.
*
* @param e The event.
*/
@Override
public void actionPerformed(ActionEvent e) {
TokenMakerMaker tmm = getApplication();
TmmAboutDialog dialog = new TmmAboutDialog(tmm);
dialog.setVisible(true);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy