Exit the Menu mode 退出菜单模式
在文件菜单中上,单击退出。
For example, in a well-designed GUI application, the code that adds an Exit menu item would run on a Windows PC but not a Mac.
例如,在一个设计良好的GUI应用程序中,添加一个exit菜单项的代码可以在Windows PC上运行,但它不能在mac机上运行。
To create a File menu with an Exit menu item, add the code in Listing 11 to Gwitter.groovy
为了创建包含 Exit 菜单项的 File 菜单,在 Gwitter.groovy 中添加清单 11 中的代码
应用推荐