March 2017
Intermediate to advanced
1248 pages
44h 45m
English
... Value and Block Increment properties to integer values, the Slider still produces floating-point values as the user moves its thumb. In the app’s Java code, we’ll restrict the Slider’s values to integers when we respond to its events.
You’ve now completed the Tip Calculator’s design. Select Preview > Show Preview in Window to view the final GUI (Fig. 12.17). When we discuss the TipCalculatorController class in Section 12.5.5, we’ll show how to specify the Calculate Button’s event handler in the FXML file.

Read now
Unlock full access