Skip to main content

JavaFX Techniques

Table of Contents

The JavaFX Techniques You Need to Master
#

Understanding Nodes and Properties and StyleSheets is one thing, but there are also techniques that you’ll need to learn in order to create JavaFX applications.

Don't Use FXML

1 min
It seems that one of the initial selling points of JavaFX, back in 2014 was that you could use drag and drop to design your layouts, and this would be stored as something called FXML. I don’t think you should use it, and you can read why right here.

Custom Controls

1 min
These are the essential layout techniques you need to learn with JavaFX.

Layout Techniques

1 min
These are the essential layout techniques you need to learn with JavaFX.

Stop Using PropertyValueFactory

5 mins
PropertyValueFactory is an obsolete convenience method designed to eliminate boilerplate. We don’t don’t need it any more now that we have Lambda expressions.