JavaFX: Properties, Beans, and Bindings
1h 40mIntermediate2018-10-09
Authors

Neelam Dwivedi
Assistant Teaching Professor at Heinz College
Course details
Learn how to develop more dynamic, responsive applications with JavaFX, the next generation of GUI development for Java. In this course, instructor Neelam Dwivedi goes over the kinds of applications that JavaFX properties, JavaBeans, and bindings can help you construct, demonstrating how the MVC pattern can be implemented with data that changes dynamically with the UI. Using the javafx.beans library, Neelam shows how to create two applications: a BMI calculator and a shopping cart program. As she steps through the development of these simple apps, she lends a real-world context to the key concepts covered in this course.
Learning objectives
Property and binding data types
Building a BMI calculator using bindings
Observables and listeners
FXCollections and ObservableLists
What is a JavaBean?
TableView with a JavaBean
Images and media in JavaFX
Learning objectives
Property and binding data types
Building a BMI calculator using bindings
Observables and listeners
FXCollections and ObservableLists
What is a JavaBean?
TableView with a JavaBean
Images and media in JavaFX
Skills covered
JavaFXOracleSoftware Development ToolsSoftware DevelopmentDeep Dive (X:Y)
Concepts
Introduction
- Build dynamic apps with JavaFX
- What you should know
Applications Overview
- What are we making
Properties and Bindings
- Property and binding data types
- Types of bindings
- Build a BMI calculator using bindings
Observables
- Observables and listeners
- BMI calculator with a GUI
JavaFX Collections
- FXCollections and ObservableLists
- Shopping cart 1 with ComboBox and slider
Java Beans and TableViews
- What is a JavaBean
- Shopping cart 2 with a JavaBean
- TableView with a JavaBean
- Shopping cart 3 requirements and design
- Shopping cart 3 custom cell
- Shopping cart 4 with total price
Images and Media in JavaFX
- Image and Media classes
- Shopping cart 5 with an image and media
Conclusion
- Summary and best practices