Skip to content

Convenience methods for clipboard assignment don't work #190

Description

@benedictleejh

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

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions