diff src/name/blackcap/clipman/Misc.kt @ 41:33fbe3a78d84

Got the settings stuff compiling (untested).
author David Barts <n5jrn@me.com>
date Sat, 08 Feb 2020 22:10:01 -0700
parents 0c6c18a733b7
children 19d9da731c43
line wrap: on
line diff
--- a/src/name/blackcap/clipman/Misc.kt	Wed Feb 05 16:47:25 2020 -0800
+++ b/src/name/blackcap/clipman/Misc.kt	Sat Feb 08 22:10:01 2020 -0700
@@ -5,6 +5,7 @@
 
 import java.awt.Dimension
 import java.awt.Toolkit
+import java.nio.charset.Charset
 import javax.swing.*
 import javax.swing.text.JTextComponent
 
@@ -13,6 +14,7 @@
  * things.
  */
 val CHARSET_NAME = "UTF-8"
+val CHARSET = Charset.forName(CHARSET_NAME)
 
 /**
  * Allows a val to have lateinit functionality. It is an error to attempt