Module javafx.swing

Package javafx.embed.swing

Provides the set of classes to use JavaFX inside Swing applications.

The JFXPanel class is the base class that provides JavaFX and Swing interoperability. This class defines a lightweight Swing component, which accepts and renders an instance of Scene and forwards all input events from Swing to the attached JavaFX scene.

  • Class Summary 
    Class Description
    JFXPanel
    JFXPanel is a component to embed JavaFX content into Swing applications.
    SwingFXUtils
    This class provides utility methods for converting data types between Swing/AWT and JavaFX formats.
    SwingNode
    This class is used to embed a Swing content into a JavaFX application.