add an exit menu

pull/24/head
Zlatin Balevsky 2019-10-23 08:45:03 +01:00
parent decb72c8ef
commit b6483ad0f4
1 changed files with 3 additions and 0 deletions

View File

@ -85,6 +85,9 @@ class MainFrameView {
pack : false,
visible : bind { model.coreInitialized }) {
menuBar {
menu (text : "File") {
menuItem("Exit", actionPerformed : {application.shutdown()})
}
menu (text : "Options") {
menuItem("Configuration", actionPerformed : {mvcGroup.createMVCGroup("Options")})
menuItem("Content Control", actionPerformed : {