February 2014
Beginner
1248 pages
62h 25m
English
This section presents the JavaFX features you’ll use in the Painter app.
RadioButtons function as mutually exclusive options, just like their Swing counterparts. You add multiple RadioButtons to a ToggleGroup to ensure that only one RadioButton in a given group is selected at a time. For this app, you’ll use JavaFX Scene Builder’s capability for specifying each RadioButton’s ToggleGroup in FXML; however, you can also create a ToggleGroup in Java, then use a RadioButton’s setToggleGroup method to specify its ToggleGroup.
A TitledPane displays a title at its top and is a collapsible panel containing a layout node, which in turn contains other nodes. You’ll use TitledPanes to ...
Read now
Unlock full access