public class LicenseAction extends AbstractAction {
private TextFileViewer readmeDialog;
public LicenseAction(final Frame parent) {
readmeDialog = new TextFileViewer(parent, "META-INF/LICENSE.txt");
putValue(NAME, LocalisationHelper.getString("main_frame_menuitem_license"));
putValue(SHORT_DESCRIPTION, LocalisationHelper.getString("main_frame_menuitem_hint_license"));
putValue(MNEMONIC_KEY, new Integer(LocalisationHelper.getString("main_frame_menuitem_mnemonic_license").charAt(0)));
putValue(ACTION_COMMAND_KEY, "about");
// TODO icon?