Hi,
I need something similar to javafx.scene.text.TextFlow, where you can put HyperLinks and ImageViews as well (or any arbitrary Node), BUT unlike TextFlow, the Text (and maybe even HyperLinks) should be selectable (for copying the selected text).
Something like:
http://www.java-blog-buch.de/wp-content/uploads/2009/08/000073.png
(See the image on the bottom)
Think of a chat window with smileys and hyperlinks and probably other nodes embedded in the text layout.
It seems like Swing allows that (at least using images within text) using javax.swing.JTextPane + javax.swing.text.StyledDocument
I've looked at RichTextFX, but it seems you can only use plain text, but not embed other nodes in the text layout, right?
Anybody could point me in a direction, where to look and what to do, if I have to do it myself?
Hi,
I need something similar to
javafx.scene.text.TextFlow, where you can put HyperLinks and ImageViews as well (or any arbitrary Node), BUT unlike TextFlow, the Text (and maybe even HyperLinks) should be selectable (for copying the selected text).Something like:
http://www.java-blog-buch.de/wp-content/uploads/2009/08/000073.png
(See the image on the bottom)
Think of a chat window with smileys and hyperlinks and probably other nodes embedded in the text layout.
It seems like Swing allows that (at least using images within text) using
javax.swing.JTextPane+javax.swing.text.StyledDocumentI've looked at RichTextFX, but it seems you can only use plain text, but not embed other nodes in the text layout, right?
Anybody could point me in a direction, where to look and what to do, if I have to do it myself?