diff src/name/blackcap/clipman/PasteboardView.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 c4f53bc01732
children 19d9da731c43
line wrap: on
line diff
--- a/src/name/blackcap/clipman/PasteboardView.kt	Wed Jan 29 21:56:12 2020 -0800
+++ b/src/name/blackcap/clipman/PasteboardView.kt	Thu Jan 30 16:01:51 2020 -0800
@@ -18,7 +18,7 @@
 /**
  * What we use to display the text that is or was in the clipboard.
  */
-class ClipText: JTextPane() {
+class ClipText(val basedOn: PasteboardItem): JTextPane() {
     private val normalBorder = BorderFactory.createCompoundBorder(
             BorderFactory.createLineBorder(Color.GRAY, INNER_BORDER),
             BorderFactory.createEmptyBorder(MARGIN_BORDER, MARGIN_BORDER, MARGIN_BORDER, MARGIN_BORDER))