製作一個可從功能表、右鍵功能表、工具列等呼叫的 NetBeans 動作 (ActionListenerCookieAction)。