5. User Interface Components

Graphical objects include user interface components, described in this chapter. JavaFX currently offers two flavors: Java Swing-based components that are wrapped for seamless integration into JavaFX and “native” JavaFX components. Recently, the native JavaFX UI component offerings have increased, and we briefly describe these new components in this chapter. We point you to examples throughout the book that use the described components, where possible.

You can apply CSS styles to graphical objects (“skin” them), which is especially useful for incorporating UI components with a uniform look and feel. You can also build your own “skinnable” UI components. (Skinnable components let you apply a uniform style to components ...

Get Essential JavaFX™ now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.