SceneBuilder Tooltip over Label JavaFX

uraza picture uraza · Jul 1, 2015 · Viewed 8.5k times · Source

If I have a label with a text that's too long and I want a tooltip that shows the entire label text when I hover over the label with my mouse. Is that possible to do in SceneBuilder or do I have to do it programically for all my labels?

Answer

James_D picture James_D · Jul 1, 2015

Under "Miscellaneous" in the Library pane (left side), you will find a "Tooltip". Just drag it and drop it onto the label in the Hierarchy pane below. Then you can select the tooltip and configure the text, etc.

enter image description here