A Tooltip displays additional information for the UI control when you move the mouse over the UI component.
TextField tfUsername = new TextField();
Tooltip ttUsername = new Tooltip(“Enter username”);
tfUsername.setTooltip(ttUsername);
#Tooltip #JavaFX