Adding swingNode to javaFx
<p>i wrote an app with javaFx and wanna add a JButton to a Pane in SwingNode
this is my controller of fxml </p>

<pre><code>public class Controller implements Initializable {

    @FXML
    private Pane pane;

    private static final SwingNode swingNode = new SwingNode();

    @Override
    public void initialize(URL location, ResourceBundle resources) {
        createSwingContent(swingNode);
        pane.getChildren().add(swingNode);
    }

    @FXML
    private void handleButtonAction(ActionEvent event) {

    }

    private void createSwingContent(final SwingNode swingNode) {
        SwingUtilities.invokeLater(() -&gt; {
            JButton jButton = new JButton("Click me!");
            jButton.setBounds(0,0,80,50);

            JPanel panel = new JPanel();
            panel.setLayout(null);
            panel.add(jButton);

            swingNode.setContent(panel);

        });
    }
}
</code></pre>

<p>but it doesn't work, so what's wrong whit it ? 
BTW, when i added a non-swingNode to my Pane it works and shows the Button but
in swingNode manner it doesn't work !</p>