adrianromero / hellocommon

HelloCommon are basic JavaFX utilities

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HelloCommon Release

HelloCommon is a JavaFX library for displaying internal dialogs

Screenshot

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.");

Information dialog

License

HelloCommon is licensed under the Apache License, Version 2.0, January 2004.

About

HelloCommon are basic JavaFX utilities

License:Apache License 2.0


Languages

Language:Java 92.2%Language:CSS 7.8%