Mercurial > cgi-bin > hgweb.cgi > ClipMan
diff src/name/blackcap/clipman/Main.kt @ 28:f1fcc1281dad
Use BorderFactory; clean up Find dialog.
author | David Barts <n5jrn@me.com> |
---|---|
date | Wed, 29 Jan 2020 13:39:14 -0800 |
parents | 8aa2dfac27eb |
children | c4f53bc01732 |
line wrap: on
line diff
--- a/src/name/blackcap/clipman/Main.kt Wed Jan 29 10:50:07 2020 -0800 +++ b/src/name/blackcap/clipman/Main.kt Wed Jan 29 13:39:14 2020 -0800 @@ -16,7 +16,6 @@ import java.util.logging.Level import java.util.logging.Logger import javax.swing.* -import javax.swing.border.* import javax.swing.text.html.StyleSheet import kotlin.concurrent.thread import org.jsoup.Jsoup @@ -166,7 +165,7 @@ frame.v = JFrame(MYNAME) con = JPanel().apply { layout = BoxLayout(this, BoxLayout.Y_AXIS) - border = EmptyBorder(PANEL_BORDER, PANEL_BORDER, PANEL_BORDER, PANEL_BORDER) + border = BorderFactory.createEmptyBorder(PANEL_BORDER, PANEL_BORDER, PANEL_BORDER, PANEL_BORDER) background = frame.v.background } frame.v.jMenuBar = menuBar