Makes a NetBeans action (CallableSystemAction or CookieAction) which can be added to a menu, context menu, toolbar, etc.