### ImageView Add Tooltip

Add a tooltip to an ImageView (requires the JavaObject library).
Reference: http://download.java.net/jdk8/jfxdocs/javafx/scene/control/Tooltip.html
Add a ToolTip
`Sub ToolTipToImageView(iv As ImageView, msg As String)
Dim joToolTip As JavaObject
Dim joToolTip2 As JavaObject = joToolTip.InitializeNewInstance("javafx.scene.control.Tooltip", Array(msg))
joToolTip.RunMethod("install", Array(iv, joToolTip2))
End Sub`
Remove a ToolTip
Use the API method uninstall:
Dim joToolTip As JavaObject
Dim joToolTip2 As JavaObject = joToolTip.InitializeNewInstance("javafx.scene.control.Tooltip", Array(msg))
joToolTip.RunMethod("uninstall", Array(iv, joToolTip2))
Example adding a ToolTip
Private imgTMP36 As ImageView
ToolTipToImageView(imgTMP36, "The TMP36 temperature sensor")

Changed: , Category: Image and ImageView, File: T6C199M1462.htm, ID: 1462