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
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 Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now