And, you're now also able to generate a NetBeans TopComponent straight from your FXG file. The generated TopComponent will be annotated such that you can immediately deploy it, again without any tweaking of any kind, and you'll then have a new window in your NetBeans Platform application containing your converted FXG image.
This is what you'll see now when you right-click an FXG file:
One thing that needs to be done is that an HTML file should be generated together with the HTML 5 Canvas component, i.e., the last item on the list above.
Within the context of a Visual Library scene, this is how you'd integrate a converted FXG Java component, i.e., just like any other Swing component, via the ComponentWidget wrapper provided by the Visual Library:
Scene s = new Scene();
LayerWidget lw = new LayerWidget(s);
ComponentWidget cw = new ComponentWidget(s, new MyConvertedFXGComponent());
Click here to get to the page where the above plugin can be downloaded.