Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 10 days ago
JSON representation

Awesome Lists containing this project

README

        

[![HitCount](http://hits.dwyl.io/biagiopietro/LicenseDialog.svg)](http://hits.dwyl.io/biagiopietro/LicenseDialog)
[![JitPack lib_version](https://jitpack.io/v/biagiopietro/LicenseDialog.svg)](https://jitpack.io/#biagiopietro/LicenseDialog)
[![GitHub forks](https://img.shields.io/github/forks/biagiopietro/LicenseDialog.svg)](https://github.com/biagiopietro/LicenseDialog/network)
[![GitHub issues](https://img.shields.io/github/issues/biagiopietro/LicenseDialog.svg)](https://github.com/biagiopietro/LicenseDialog/issues)
[![GitHub license](https://img.shields.io/github/license/biagiopietro/LicenseDialog.svg)](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

![](https://imgur.com/lbJs4FZ.png)

## 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
```xml

com.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.