Hi All,
I am trying to define tooltip in fxml (javaFX 2.0), but no success:
The code below compiles, but the tooltip does not show. Should I activate it somehow?
If I add activated="true" an error (Property "activated" does not exist or is read-only) comes up.
...
<ImageView fx:id="action0" fitHeight="48" fitWidth="48"
onMouseClicked="#Action">
<tooltip>
<Tooltip text="Ho-hó-mmm"/>
</tooltip>
<style>
-fx-effect: dropshadow( two-pass-box, black, 10, 0.0, 0, 0)
</style>
<image>
<Image url="@icons/home_48.png"/>
</image>
</ImageView>
...
I tried to wrap IamgeView into a Button, but got the same result.