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!

Does JavaFX support rich text in Tooltips?

swpalmer-JavaNetSep 30 2011 — edited Oct 6 2011
Does JavaFX support rich text in Tooltips? The docs for Tooltip.setFont say:

"The default font to use for text in the Tooltip. *If the Tooltip's text is rich text* then this font may or may not be used depending on the font information embedded in the rich text, but in any case where a default font is required, this font will be used. "

But I don't know how to set rich text. I tried using HTML the same way Swing works with HTML but that didn't work (it just showed the HTML source).
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 3 2011
Added on Sep 30 2011
6 comments
1,103 views