Mercurial > cgi-bin > hgweb.cgi > ClipMan
comparison src/name/blackcap/clipman/Main.kt @ 4:debe0413280f
Use JPanel.
author | David Barts <n5jrn@me.com> |
---|---|
date | Sat, 18 Jan 2020 12:31:53 -0800 |
parents | 70caa73e32f7 |
children | 0640efd6b54a |
comparison
equal
deleted
inserted
replaced
3:70caa73e32f7 | 4:debe0413280f |
---|---|
106 } | 106 } |
107 } | 107 } |
108 | 108 |
109 fun main(args: Array<String>) { | 109 fun main(args: Array<String>) { |
110 LOGGER.log(Level.INFO, "beginning execution") | 110 LOGGER.log(Level.INFO, "beginning execution") |
111 val con = Container().apply { | 111 val con = JPanel().apply { |
112 layout = BoxLayout(this, BoxLayout.Y_AXIS) | 112 layout = BoxLayout(this, BoxLayout.Y_AXIS) |
113 } | 113 } |
114 var frame: JFrame? = null | 114 var frame: JFrame? = null |
115 inSwingThread { | 115 inSwingThread { |
116 frame = JFrame("ClipMan").apply { | 116 frame = JFrame("ClipMan").apply { |