public OpenAction() {
putValue(Action.NAME, NAME_OPEN);
putValue(Action.SMALL_ICON, getIcon(SMALL_ICON_OPEN));
putValue(LARGE_ICON, getIcon(LARGE_ICON_OPEN));
putValue(Action.SHORT_DESCRIPTION, SHORT_DESCRIPTION_OPEN);
putValue(Action.LONG_DESCRIPTION, LONG_DESCRIPTION_OPEN);
putValue(Action.ACCELERATOR_KEY,
KeyStroke.getKeyStroke(KeyEvent.VK_O, KeyEvent.ALT_MASK));
putValue(Action.MNEMONIC_KEY, new Integer(MNEMONIC_KEY_OPEN));
putValue(Action.ACTION_COMMAND_KEY, ACTION_COMMAND_KEY_OPEN);
putValue(StandardAction.ON_MENUBAR, new Boolean(true));
putValue(StandardAction.MENU_NAME, "File");
putValue(StandardAction.MENU_ITEM_GROUP, new Integer(0));
putValue(StandardAction.MENU_ITEM_WEIGHT, new Integer(5));
putValue(StandardAction.ON_TOOLBAR, new Boolean(true));
putValue(StandardAction.TOOLBAR_GROUP, new Integer(0));
putValue(StandardAction.TOOLBAR_WEIGHT, new Integer(5));
}