The dream—a single NetBeans module that provides the JavaFX browser component wrapped in a NetBeans TopComponent. Regardless of race, color, or creed, i.e., operating system, operating system, or operating system, it should be possible to add that module to the application, as shown below:
...and then, simply by running the application, without any tweaking at all, the JavaFX browser should be part of the application:
And that dream is a reality, here:
I created the module and added all the native libraries for Windows and Linux, Toni added the native libraries for Mac OS X today. So, in principle, when you download the module and add it to the application as shown above, the application should start without a problem and display the JavaFX component regardless of the operating system you're using.
The downside is that you end up with a gazillion native libraries in your application since it is unclear which native libraries are actually needed, so Toni and I simply included literally all of them.
Feedback on this module would be much appreciated, including code contributions. Would be great if someone added next/prev buttons to it, for example.
Note: This module is completely experimental and sooner or later you will have some kind of problem with it. Nevertheless, would be great if several NetBeans Platform developers would try it out and give feedback.