Chapter 10Give It Some Swing

Key Skills & Concepts

• Understanding swing

• Adding swing to a JavaFX script

• Using SwingComboBoxItem

Swing is a common package used in Java development. However, swing is also available to users of JavaFX. In this chapter you will learn how to use swing and swing components in your JavaFX applications.

What Is Swing?

The javafx.ext.swing package contains a host of GUI (graphical user interface) tools. These tools can be used to build a useful interface for your JavaFX application. If you are looking to build a more business-like application using JavaFX, you will want to look at the available swing components.

If you are already an experienced Java developer, swing should be familiar to you. Swing has been available ...

Get JavaFX A Beginners Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.