Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Is it possible to mark/select text in TextFlow control?

cshApr 17 2014 — edited Apr 17 2014

Hi,

I am looking for a possibility to allow the user to mark/select text in a TextFlow control in order to allow him to copy it to the clipboard.

According to what I see here (and I tried it out), TextFlow seems good for what I need, but I couldn't find a way to copy the text via selecting and Ctrl+C:

https://wiki.openjdk.java.net/display/OpenJFX/Rich+Text+API+Samples

Is there any possibility to make the text selectable, just like in TextArea.

Thanks!

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 15 2014
Added on Apr 17 2014
1 comment
2,318 views