2081 4

CSC419 ยท 2081 ยท 5 marks

How does JavaFX hyperlink control format text that functions as button? Illustrate with an example.

How does JavaFX hyperlink control format text that functions as button? Illustrate with an example. [5]

Advanced Java ProgrammingChapter 6: GUI with JavaFXJavaFX UI Controls

A Hyperlink in JavaFX is a control that formats text to look and behave like an HTML hyperlink (clickable underlined text), but it also functions as a button -- meaning it generates an ActionEvent when clicked, just like a regular button. - It is represented by the class javafx.scene.control.Hype...