1

I want that the 'underline' of a hyperlink in JavaFx is always visible. How can I achieve this ?

Marco
  • 2,189
  • 5
  • 25
  • 44

1 Answers1

2

You can achieve this using css like this

link.setStyle("-fx-underline: true");

Or you could create a css file if you want to style your link more

Austin
  • 726
  • 4
  • 22