public SaveAction() {
putValue(Action.NAME, NAME_SAVE);
putValue(Action.SMALL_ICON, getIcon(SMALL_ICON_SAVE));
putValue(LARGE_ICON, getIcon(LARGE_ICON_SAVE));
putValue(Action.SHORT_DESCRIPTION, SHORT_DESCRIPTION_SAVE);
putValue(Action.ACCELERATOR_KEY,
KeyStroke.getKeyStroke(KeyEvent.VK_S, KeyEvent.ALT_MASK));
putValue(Action.LONG_DESCRIPTION, LONG_DESCRIPTION_SAVE);
putValue(Action.MNEMONIC_KEY, new Integer(MNEMONIC_KEY_SAVE));
putValue(Action.ACTION_COMMAND_KEY, ACTION_COMMAND_KEY_SAVE);
putValue(StandardAction.MENU_NAME, "File");
putValue(StandardAction.MENU_ITEM_GROUP, new Integer(0));
putValue(StandardAction.ON_MENUBAR, new Boolean(true));
putValue(StandardAction.MENU_ITEM_WEIGHT, new Integer(50));
putValue(StandardAction.ON_TOOLBAR, new Boolean(true));
putValue(StandardAction.TOOLBAR_GROUP, new Integer(0));
putValue(StandardAction.TOOLBAR_WEIGHT, new Integer(20));
}