This video explains how to make use of JFXDialog for making material design dialog in JavaFX. The body of the dialog can be designed easily using JFXDialogLayout class from JFoenix controls package. The methods setHeading(), setBody() and setActions() are used to design JFXDialogLayout.
Dialog can be started using show() and closed using close() method. JFXDialog also provides to event support called JFXDialogEvent.OPENED and JFXDialogEvent.CLOSED.
Genuine Coder
http://www.genuinecoder.com/