I often use a label for that and change the cursor...
# tornadofx
e
I often use a label for that and change the cursor on hover to show that the value can be copied, then I add a click listener which copies the content to the clipboard.