https://github.com/biagiopietro/licensedialog
https://github.com/biagiopietro/licensedialog
java javafx javafx-library libraries license-dialog licenses manage manage-licenses materialdesign-ui
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/biagiopietro/licensedialog
- Owner: biagiopietro
- License: apache-2.0
- Created: 2018-12-29T13:50:22.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-15T08:48:04.000Z (over 6 years ago)
- Last Synced: 2025-03-14T06:12:48.264Z (3 months ago)
- Topics: java, javafx, javafx-library, libraries, license-dialog, licenses, manage, manage-licenses, materialdesign-ui
- Language: CSS
- Size: 32.2 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](http://hits.dwyl.io/biagiopietro/LicenseDialog)
[](https://jitpack.io/#biagiopietro/LicenseDialog)
[](https://github.com/biagiopietro/LicenseDialog/network)
[](https://github.com/biagiopietro/LicenseDialog/issues)
[](https://github.com/biagiopietro/LicenseDialog/blob/master/LICENSE)
---LicenseDialog
LicenseDialog is an open source Java library, that allows you to show the license of the libraries used in your project inside a Material Design dialog.
## Screenshot

## Note
* LicenseDialog requires **Java 1.8u60** and above.
* You need to set JAVA_HOME environment variable to point to Java 1.8 directory.## How to Include In Maven Project
### Add JitPack in your repositories
```xml
jitpack.io
https://jitpack.io
```
### Add LicenseDialog in your dependencies
```xmlcom.github.biagiopietro
LicenseDialog
1.0.2```
## How to use
```
// Create License list
List licenseList = new ArrayList<>();
// Add Licenses to the list
licenseList.add(new License("Lib example", "https://www.google.com", "Copyright © example", License.licenseType.APACHE20));
LicenseDialogController licenseDialogController = new LicenseDialogController();
// Set the HostServices for the URL
licenseDialogController.setHostServices(hostServices);
licenseDialogController.setLicenseList(licenseList);
licenseDialogController.setTitleStage("Open Source Libraries");
licenseDialogController.setCloseButtonText("Close");
licenseDialogController.setTitleInsideDialog("Libraries");
licenseDialogController.showLicenseDialog();
```
## Supported Licenses
* Apache 2.0
* MIT
* LGPL 3.0
* BSD 3-Clause## Issues
Issues can be reported to the Issue tracker. If you can't fix them yourself, please be patiente as I can only work on them during my spare time and according to my priorities.## Contributions
Contributions are welcome, they can be submitted via Pull requests.## Special Thanks
Special thanks to JetBrains for his beautiful IDEE IntelliJ IDEA and JFoenix for Material Design Components.