When attempting to assign to the clipboard, using the convenience methods result in a compile error. The test code is included below.
object Test {
val clipboard = new Clipboard(Clipboard.systemClipboard)
val cnt = new ClipboardContent()
cnt.putString("Hello")
clipboard.content = cnt //compile error: Reassignment to val
}
I'm on ScalaFX 8.0.40-R8, Scala 2.11.6, and JDK 8u45
When attempting to assign to the clipboard, using the convenience methods result in a compile error. The test code is included below.
I'm on ScalaFX 8.0.40-R8, Scala 2.11.6, and JDK 8u45