how to make tooltip show instantly in javafx code example
Example: javafx tooltip
final PasswordField pf = new PasswordField();
final Tooltip tooltip = new Tooltip();
tooltip.setText(
"\nYour password must be\n" +
"at least 8 characters in length\n" +
);
pf.setTooltip(tooltip);