Registry / other / javafx-swing

javafx-swing

JSON →
library25.0.2javamavenunverified

OpenJFX javafx-swing provides interoperability between JavaFX and Swing, allowing embedding of JavaFX content in Swing applications.

<dependency> <groupId>org.openjfx</groupId> <artifactId>javafx-swing</artifactId> <version>25.0.2</version> </dependency>
INSTALL
IMPORT
SIG · JAVAFX-SWING
J
javafx-swing
otherjavav25.0.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

JFXPanel
javafx.embed.swing.JFXPanel

Embeds a JavaFX panel inside a Swing JFrame.

import javafx.embed.swing.JFXPanel; import javax.swing.*; public class Example { public static void main(String[] args) { SwingUtilities.invokeLater(() -> { JFrame frame = new JFrame("JavaFX in Swing"); JFXPanel jfxPanel = new JFXPanel(); frame.add(jfxPanel); frame.setSize(400, 300); frame.setVisible(true); }); } }
Debug
Known issues
gotchaJavaFX modules require explicit module path configuration in Java 9+.
fix
Add --add-modules javafx.controls,javafx.swing to JVM arguments.
affects: >=9
Upgrade
Version history
25.0.2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
javafx-swing — mvn dependency:get javafx-swing · libregistry