Creates a Tooltip instance for the specified text.
Creates a Tooltip instance for the specified text. This method is called in the Java FX application thread. A concrete implementation can create a Tooltip instance based on the given text and customize it as desired. This implementation creates a new instance of Tooltip with the specified text and returns it.
the text of the tool tip
the newly created Tooltip instance
A default implementation of ToolTipFactory.
This class creates very basic Tooltip instances that are just initialized with the passed in text. It is used per default by the standard manager implementations which create components if no custom factory is provided.