Questions tagged [jfxpanel]

The JFXPanel is a special Java Swing component that allows embedding a JavaFX scene into a Java Swing application. Use this tag on questions that cover the usage of this special Swing component.

The JFXPanel component allows the integration of functionality into applications.

Any questions regarding this special component can and should have this tag, as it requires both knowledge in the two UI frameworks JavaFX and Swing and also regarding crucial borderline topics like thread-handling.

For more information, check out the following sources:

35 questions
0
votes
0 answers

JavaFx Platform.runLater submitted Task not getting Invoked?

We have developed Swing-JavaFx Integrated application for multimedia content like Image & Animations. Base Container for application is Swing JFrame. Inside, for Image we are using JFXPanel. But after continuous run of say ~12hrs and log analysis,…
0
votes
1 answer

Displaying local html pages on WebView

I am trying to display a html page using WebView in JFXpanel. When I run the given code I get proper output i.e website("stack overflow") as mentioned in the load method. WebView webView = new WebView(); jfxPanel.setScene(new…
0
votes
1 answer

JavaFX and Swing resizable JFXPanel

I want a resizable webview in InternalFrame but what I have crashes. This is my code: /** * Create the frame. */ public TestBtn() { setClosable(true); setResizable(true); setMaximizable(true); setIconifiable(true); …
Micr0
  • 23
  • 5
-2
votes
1 answer

Problem getting fileChooser to work on a stage, not sure how to set the proper stage?

I am new to JavaFx and to using filechooser on a current stage to get the file name and path to a file. I have created test code to show the problem I am having... test_main.java package view; import javafx.application.Application; import…
-3
votes
1 answer

Duration in seconds always returns 0

My main class contains these lines of code. (There is also a JButton that adds files to the playlist) import java.util.List; import java.util.ArrayList; import javafx.embed.swing.JFXPanel; import javafx.scene.media.Media; import…
Dan
  • 17
  • 5
1 2
3