comparison src/name/blackcap/clipman/Main.kt @ 58:88056f373a94

Set app name, deal with some deprecation.
author David Barts <n5jrn@me.com>
date Sat, 26 Mar 2022 23:45:34 -0700
parents 7a75c743f973
children
comparison
equal deleted inserted replaced
57:c6cccbe2f393 58:88056f373a94
218 /* entry point */ 218 /* entry point */
219 fun main(args: Array<String>) { 219 fun main(args: Array<String>) {
220 LOGGER.log(Level.INFO, "beginning execution") 220 LOGGER.log(Level.INFO, "beginning execution")
221 if (OS.type == OS.MAC) { 221 if (OS.type == OS.MAC) {
222 System.setProperty("apple.laf.useScreenMenuBar", "true") 222 System.setProperty("apple.laf.useScreenMenuBar", "true")
223 System.setProperty("apple.awt.application.name", MYNAME)
223 } 224 }
224 inSwingThread { 225 inSwingThread {
225 Application.initialize() 226 Application.initialize()
226 } 227 }
227 } 228 }