Awesome
<p align="center"> <img src="https://raw.githubusercontent.com/DeflatedPickle/tosuto/master/.github/toastsuba.png"> </p> <h1 align="center"> tosuto <br> <p align="center"> <a href="https://www.patreon.com/DeflatedPickle"><img src="https://c5.patreon.com/external/logo/become_a_patron_button@2x.png" height="24px"></a> <a href="https://saythanks.io/to/DeflatedPickle%40gmail.com"><img src="https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg"></a> <a href='https://ko-fi.com/Q5Q0CSWL' target='_blank'><img height='24' style='border:0px;height:24px;' src='https://az743702.vo.msecnd.net/cdn/kofi4.png?v=2' border='0' alt='Buy Me a Coffee at ko-fi.com'/></a> </p> </h1> <h4 align="center">Toast notifications for Swing</h4> <p align="center"> <a href="https://github.com/DeflatedPickle/tosuto/commits/master"><img src="https://img.shields.io/github/last-commit/DeflatedPickle/tosuto.svg"></a> </p> <p align="center"> <a href="https://www.codefactor.io/repository/github/deflatedpickle/tosuto/overview/master"><img src="https://www.codefactor.io/repository/github/deflatedpickle/tosuto/badge/master" alt="CodeFactor" /></a> <a href="https://codeclimate.com/github/DeflatedPickle/tosuto/maintainability"><img src="https://api.codeclimate.com/v1/badges/cc2cde3e635f8e42113b/maintainability"/></a> </p> <p align="center"> <img src="https://hitsofcode.com/github/DeflatedPickle/tosuto"> </p> <p align="center"> <img src="https://sloc.xyz/github/DeflatedPickle/tosuto/?category=blanks"> <img src="https://sloc.xyz/github/DeflatedPickle/tosuto/?category=code"> <img src="https://sloc.xyz/github/DeflatedPickle/tosuto/?category=comments"> <img src="https://sloc.xyz/github/DeflatedPickle/tosuto/?category=lines"> </p> <p align="center"> <a href="http://isitmaintained.com/project/deflatedpickle/tosuto"><img src="http://isitmaintained.com/badge/resolution/deflatedpickle/tosuto.svg"></a> <a href="http://isitmaintained.com/project/deflatedpickle/tosuto"><img src="http://isitmaintained.com/badge/open/deflatedpickle/tosuto.svg"></a> </p> <p align="center"> <a href="https://jitpack.io/#DeflatedPickle/tosuto"><img src="https://jitpack.io/v/DeflatedPickle/tosuto.svg"></a> </p> <p align="center"> <img src="https://jitpack.io/v/deflatedpickle/tosuto/week.svg"> <img src="https://jitpack.io/v/deflatedpickle/tosuto/month.svg"> </p> <p align="center"> <img src="https://raw.githubusercontent.com/DeflatedPickle/tosuto/master/.github/images/tosuto-1.6.0.png"> </p>Installation
Gradle
repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'com.github.DeflatedPickle.tosuto:tosuto:1.7.2'
}
Maven
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.DeflatedPickle.tosuto</groupId>
<artifactId>tosuto</artifactId>
<version>1.7.2</version>
</dependency>
Usage
Kotlin
Java
Demo
This is an interactive demo, with sliders to change values for the toasts and a button and content widgets to add new toasts.
The demo can be run either through Jitpack with Gradle (or Maven) by changing the tag from :tosuto:1.7.2
to :demo:1.7.2
(for Gradle), or by running the Gradle task inside this repository once cloned.