HelloCommon is a JavaFX library for displaying internal dialogs
To install the library add:
repositories {
jcenter()
maven { url "https://jitpack.io" }
}
dependencies {
compile 'com.github.adrianromero:hellocommon:1.2.20'
}
Go to the Demo.java class file to see how to intialize and use HelloCommon.
It is needed an StackPane as parent for internal dialogs. Usually the Scene root.
MessageUtils.setDialogRoot(root, true);
And it is also a good idea to set the default css for all message dialogs in MessageUtils.
MessageUtils.useDefaultCSS();
MessageUtils.showInfo(root, "Title", "Information message.");
HelloCommon is licensed under the Apache License, Version 2.0, January 2004.