In this tutorial, I will show you how to use a ToolTip using JavaFX 15 or later with IntelliJ 2020.3 on Windows 10 10 x64.
The Tooltip displays additional information for textfield and password field when you move the mouse over the UI component.
TextField tfUsername = new TextField();
Tooltip ttUsername = new Tooltip(“Enter username”);
tfUsername.setTooltip(ttUsername);
VM options
--module-path "C:\Program Files\Java\javafx-sdk-15.0.1\lib"
--add-modules javafx.controls,javafx.fxml
#JavaFX #ToolTip #IntelliJ