JavaFX nodes

There are large amount of classes in JavaFX arranged in a hierarchy starting with a top level class called, Node. There are a number of layout classes that all work differently, such as BorderPane, ScrollPane, HBox, VBox, GridPane and StackPane which can all be embedded inside of each other to create exactly the layout you want.

There are classes to display images, text or text and images together. ListView, TreeView and TableView allow collections of data to be displayed on screen (and edited) in highly customizable ways.

For user input, you can choose from TextField, ComboBox, ChoiceBox, Spinner, Checkbox, RadioButton, Buttons and ToggleButtons.

All of these Nodes have a large number of methods and properties for controlling their presentation and how they act. Learning how to use them and configure them can be a daunting task. Luckily, most of the tutorials on the web seem to focus on this aspect of JavaFX, so help is easy to find.

The Articles:

CSS

Getting Started With CSS

How to get started styling your JavaFX applications using cascading style sheets.

Read The Article

PseudoClasses

Getting to Know PseudoClasses

When you need to have the styling of a screen element change according to the status of something in your application, PseudoClasses are the way to go. Here’s what you need to know to get started with PseudoClasses

Read The Article

Enum PseudoClass

Non-Binary PseudoClasses

PseudoClasses are usually binary on/off what if you have a variety of different values that want to use to control temporary styling on your GUI elements. Non-Binary PseudoClass Properties can solve the problem.

Read the Article