How to add Cesium to my Java FX app

1. A concise explanation of the problem you're experiencing.

I'm building a Java FX application and i want to use Cesium for the maps to be displayed in my app. How can i go about adding Cesium to my Java Fx application?

2. A minimal code example. If you've found a bug, this helps us reproduce and repair it.

3. Context. Why do you need to do this? We might know a better way to accomplish your goal.

4. The Cesium version you're using, your operating system and browser.
Windows 10.

I haven’t worked with Java FX myself, but if it has a way of embedding a web view or a web page in any way, then you should be able to use CesiumJS inside it the way you would with any regular webpage. I’d go through the first few setup steps here to make sure you know how to work with the library:

And then look up how to embed a web view or a web page in Java FX.

https://github.com/iSergio/cesiumjs4gwt