Mercurial > cgi-bin > hgweb.cgi > JpegWasher
comparison src/name/blackcap/exifwasher/Menus.kt @ 52:39895d44a287
Get help working on Linux.
author | David Barts <n5jrn@me.com> |
---|---|
date | Thu, 07 May 2020 09:59:28 -0700 |
parents | fb407182ba76 |
children | d0b83fc1d62a |
comparison
equal
deleted
inserted
replaced
51:d4ccc5ccdc6d | 52:39895d44a287 |
---|---|
44 }) | 44 }) |
45 } | 45 } |
46 add(JMenuItem("${Application.MYNAME} Help…").apply { | 46 add(JMenuItem("${Application.MYNAME} Help…").apply { |
47 addActionListener(ActionListener { Application.helpDialog.setVisible(true) }) | 47 addActionListener(ActionListener { Application.helpDialog.setVisible(true) }) |
48 }) | 48 }) |
49 } | 49 }) |
50 } | 50 } |
51 | 51 |
52 fun getMenu(name: String): JMenu? { | 52 fun getMenu(name: String): JMenu? { |
53 subElements.forEach { | 53 subElements.forEach { |
54 val jmenu = it.component as? JMenu | 54 val jmenu = it.component as? JMenu |