comparison src/name/blackcap/exifwasher/Main.kt @ 20:965435b85a69

Get rid of some stuttering.
author David Barts <n5jrn@me.com>
date Sun, 12 Apr 2020 11:46:12 -0700
parents aafc9c127c7b
children ee580450d45a
comparison
equal deleted inserted replaced
19:39b977021ea1 20:965435b85a69
10 object Application { 10 object Application {
11 /* name we call ourselves */ 11 /* name we call ourselves */
12 val MYNAME = "ExifWasher" 12 val MYNAME = "ExifWasher"
13 13
14 /* global UI objects */ 14 /* global UI objects */
15 var mainFrame: MainFrame by SetOnce<MainFrame>() 15 var mainFrame: MainFrame by setOnce()
16 var settingsDialog: SettingsDialog by SetOnce<SettingsDialog>() 16 var settingsDialog: SettingsDialog by setOnce()
17 17
18 fun initialize() { 18 fun initialize() {
19 UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); 19 UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
20 mainFrame = MainFrame() /* must be created first */ 20 mainFrame = MainFrame() /* must be created first */
21 mainFrame.jMenuBar = MyMenuBar() 21 mainFrame.jMenuBar = MyMenuBar()