HelloCommon
HelloCommon is a JavaFX library for displaying internal dialogs
Install
To install the library add:
repositories {
jcenter()
maven { url "https://jitpack.io" }
}
dependencies {
compile 'com.github.adrianromero:hellocommon:1.2.20'
}
Usage
Go to the Demo.java class file to see how to intialize and use HelloCommon.
Initialize
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();
Information dialog
MessageUtils.showInfo(root, "Title", "Information message.");
License
HelloCommon is licensed under the Apache License, Version 2.0, January 2004.