diff src/name/blackcap/exifwasher/Main.kt @ 6:aafc9c127c7b

Fix many bugs; get settings (apparently) working.
author David Barts <n5jrn@me.com>
date Thu, 09 Apr 2020 22:29:48 -0700
parents dc1f4359659d
children 965435b85a69
line wrap: on
line diff
--- a/src/name/blackcap/exifwasher/Main.kt	Thu Apr 09 18:20:34 2020 -0700
+++ b/src/name/blackcap/exifwasher/Main.kt	Thu Apr 09 22:29:48 2020 -0700
@@ -18,6 +18,8 @@
     fun initialize() {
         UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
         mainFrame = MainFrame() /* must be created first */
+        mainFrame.jMenuBar = MyMenuBar()
+        setMacMenus() /* always safe to call; no-op if not a Mac */
         settingsDialog = SettingsDialog()
         mainFrame.setVisible(true)
     }