JFXPanel can cause the program to not exit

This is a separate issue that came to light in another discussion: [url http://forums.oracle.com/forums/thread.jspa?threadID=2236566]Image conversion between AWT and FX
I've concluded that the culprit is the JFXPanel. Hopefully this will be sorted out by the final release. The minimum code required to reproduce the problem is:import javafx.application.Application;
import javafx.embed.swing.JFXPanel;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.stage.Stage;
public class JFXPanelHang extends Application {
  public static void main(String[] args) {
    Application.launch(JFXPanelHang.class, args);
  @Override
  public void start(Stage primaryStage) throws Exception {
    JFXPanel panel = new JFXPanel();
    panel.setScene(new Scene(new Group()));
    primaryStage.setVisible(true);
}The program doesn't terminate when the <tt>Stage</tt> is closed. If however you comment out the <tt>setScene(...)</tt> line, the program terminates normally.
I wanted to log an issue on Jira, but I'm getting an error:
JIRA Startup Failed
You cannot access JIRA at present. Look at the table below to identify the reasonsIf anybody can reach the bug reporting page, please do report it. Thanks.
db

Hi,
If this helps you somehow
here is what i got when listing Threads :
when line setScene... is not commented
java.lang.ThreadGroup[name=main,maxpri=10]
    Thread[main,5,main]
    Thread[JavaFX-Launcher,5,main]
    Thread[QuantumRenderer-0,5,main]
    Thread[JavaFX Application Thread,5,main]
    Thread[Thread-2,5,main]
    Thread[AWT-Shutdown,5,main]
    Thread[AWT-Windows,6,main]
    Thread[AWT-EventQueue-0,6,main]
    Thread[Disposer,10,main]and when it is commented
java.lang.ThreadGroup[name=main,maxpri=10]
    Thread[main,5,main]
    Thread[JavaFX-Launcher,5,main]
    Thread[QuantumRenderer-0,5,main]
    Thread[JavaFX Application Thread,5,main]
    Thread[Thread-2,5,main]
    Thread[Disposer,10,main]same output like in another discussion.
Difference is:
Thread[AWT-Shutdown,5,main]
Thread[AWT-Windows,6,main]
Thread[AWT-EventQueue-0,6,main]
When i close stage those 3 are still running.

Similar Messages

Maybe you are looking for

  • Issue While Installing MBAM

     Hi All,  Our Organisation has decided to go with MBAM, Here is the back ground of our setup  1. Windows 2008 R2 Server will be used for Group Policy Mgmt Workstation and Management Web Interface  2. SQL Server with 3 database, Audit, Recovery and Au

  • Error when trying to create a JCO Destination

    Hi I receives the following error when trying to creat a JCO Destination, clicking on the button in the host:port/webdynpro/dispatcher/sap.com/tcwdtools/Explorer I get the following error: Error stacktrace: java.lang.NullPointerException      at com.

  • Help!!! Display "null" in JSP page

    Hi, I use the code like <%=adress%> in jsp. When the adress is null, the jsp page in S1AS will show a string "null". But the same code is OK in weblogic ,the jsp will show empty for this part of code What is difference between them ?If I do not want

  • Copy/Paste cells in the same table

    How can I copy/paste rows inside the same table? I tried with ITableModel, but its function CanPaste() returns me kFalse. And I tried with kTableCopyPasteCmdBoss/ITableCopyPasteCmdData, it crashed. Thank you in advance, David

  • Overcharged for Pre-Order

    I recently pre-ordered a Nintendo New 3DS XL (Red) and paid a $50 deposit in store. When I went to purchase the item on Friday, Feb. 13, the computer screen showed the price after the deposit, but the card reader showed $202.29, which was the amount