Skip navigation

Objects in FXML

Objects in FXML: Create Interfaces with FXML and JavaFX
Objects in FXML: Create Interfaces with FXML and JavaFX

The main purpose of FXML is creating an object-graph. Some classes provide constructors to create their objects, some use static valueOf() methods, and some factory methods. Using the no-args constructor to create objects in FXML is easy. If an element name is a class name, which has a no-args constructor, the element will create an object of that class. The following element creates a VBox object as the VBox class has a no-args constructor.

Resume Transcript Auto-Scroll
Skill Level Intermediate
1h 12m
Duration
24,906
Views
Show More Show Less
Skills covered in this course
Development Tools Developer Programming Languages Java

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start My Free Month

Start your free month on LinkedIn Learning, which now features 100% of Lynda.com courses. Develop in-demand skills with access to thousands of expert-led courses on business, tech and creative topics.

Start My Free Month

You are now leaving Lynda.com and will be automatically redirected to LinkedIn Learning to start your free trial.