diff src/name/blackcap/exifwasher/Main.kt @ 50:fb407182ba76

Add help menu item, UNTESTED.
author David Barts <davidb@stashtea.com>
date Thu, 07 May 2020 08:29:58 -0700
parents ee580450d45a
children
line wrap: on
line diff
--- a/src/name/blackcap/exifwasher/Main.kt	Mon May 04 18:12:59 2020 -0700
+++ b/src/name/blackcap/exifwasher/Main.kt	Thu May 07 08:29:58 2020 -0700
@@ -14,6 +14,7 @@
     /* global UI objects */
     var mainFrame: MainFrame by setOnce()
     var settingsDialog: SettingsDialog by setOnce()
+    var helpDialog: HelpDialog by setOnce()
 
     fun initialize() {
         UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
@@ -21,6 +22,7 @@
         mainFrame.jMenuBar = MyMenuBar()
         setMacMenus() /* always safe to call; no-op if not a Mac */
         settingsDialog = SettingsDialog()
+        helpDialog = HelpDialog()
         mainFrame.setVisible(true)
     }
 }