Hi,
I couldn't find any examples how to use the alert box, could you add an example? (Or direct me to one if I missed it..)
Thanks!
Hello,
Here is a simple example
// stage must have a scene
JFXAlert<Void> alert = new JFXAlert<>(stage);
alert.setContent(content);
button.setOnAction(action-> alert.show());
Regards,
Thanks for the input!
Why the alert is generic, ie what can I do with the <Void>, like JFXAlert<Long>?
Hello,
JFXAlert
Regards,
Most helpful comment
Hello,
Here is a simple example
Regards,