comparison src/name/blackcap/imageprep/Main.kt @ 30:098c4f5507c7

Convert to JDK 15.
author David Barts <n5jrn@me.com>
date Mon, 13 Jun 2022 11:31:49 -0700
parents 92afaa27f40a
children
comparison
equal deleted inserted replaced
29:e90d290a9a8d 30:098c4f5507c7
31 fun main(args: Array<String>) { 31 fun main(args: Array<String>) {
32 /* start up */ 32 /* start up */
33 LOGGER.log(Level.INFO, "beginning execution") 33 LOGGER.log(Level.INFO, "beginning execution")
34 if (OS.type == OS.MAC) { 34 if (OS.type == OS.MAC) {
35 System.setProperty("apple.laf.useScreenMenuBar", "true") 35 System.setProperty("apple.laf.useScreenMenuBar", "true")
36 System.setProperty("apple.awt.application.name", Application.MYNAME)
36 } 37 }
37 38
38 /* launch GUI */ 39 /* launch GUI */
39 inSwingThread { 40 inSwingThread {
40 Application.initialize() 41 Application.initialize()