'How to create a dialog window with Java and MaterialFX?

I am working on an application and want to use MaterialFX's dialog windows. I previously used JOptionPanes that were easy to code and did not require direct use of Scenebuilder/Java FX.

I looked through the author's github, Palexdev, and found this: https://javadoc.io/doc/io.github.palexdev/materialfx/latest/MaterialFX/io/github/palexdev/materialfx/dialogs/package-summary.html

But I am still having difficulty creating them, so if anyone could point me in any direction that would be great. Thanks



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source