Table 9-5. JavaFX Controls




A non-editable text control that is typically used to display the label for another control.


Represents a command button control. It can display text and an icon. It generates an ActionEvent when it is activated.


Represents a hyperlink control, which looks like a hyperlink in a webpage. It generates an ActionEvent when it is activated.


Looks like a button and behaves like a menu. When it is activated, it shows a list of options in the form of a pop-up menu. To execute a command when a menu option is selected, you need to add the ActionEvent handler to the MenuItems added to the MenuButton.


Represents a two-state button control. ...

Get Beginning Java 8 APIs, Extensions and Libraries Swing, JavaFX, JavaScript, JDBC and Network Programming APIs now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.