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 JFXPanelis 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.
© 2008, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from JavaFX API Documentation.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Java, JavaFX and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.