Mercurial > cgi-bin > hgweb.cgi > ClipMan
comparison src/name/blackcap/clipman/Misc.kt @ 31:0c6c18a733b7
Compiles, new menu still a mess.
author | David Barts <n5jrn@me.com> |
---|---|
date | Thu, 30 Jan 2020 16:01:51 -0800 |
parents | 8aa2dfac27eb |
children | 33fbe3a78d84 |
comparison
equal
deleted
inserted
replaced
30:0e88c6bed11e | 31:0c6c18a733b7 |
---|---|
5 | 5 |
6 import java.awt.Dimension | 6 import java.awt.Dimension |
7 import java.awt.Toolkit | 7 import java.awt.Toolkit |
8 import javax.swing.* | 8 import javax.swing.* |
9 import javax.swing.text.JTextComponent | 9 import javax.swing.text.JTextComponent |
10 | |
11 /** | |
12 * Name of the character set (encoding) we preferentially use for many | |
13 * things. | |
14 */ | |
15 val CHARSET_NAME = "UTF-8" | |
10 | 16 |
11 /** | 17 /** |
12 * Allows a val to have lateinit functionality. It is an error to attempt | 18 * Allows a val to have lateinit functionality. It is an error to attempt |
13 * to retrieve this object's value unless it has been set, and it is an | 19 * to retrieve this object's value unless it has been set, and it is an |
14 * error to attempt to set the value of an already-set object. | 20 * error to attempt to set the value of an already-set object. |