Skip to content

rodriguesabner/Floating-Notifications-Java-Swing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toast Notification - JavaSwing

Beautiful Floating Notification in Java Swing. Like Android.

image

Releases https://github.com/kingaspx/Floating-Notifications-Java-Swing/releases

Success Notification - LONG_DELAY

        new Toast.ToastSuccessful(
                "I'm title Jframe",  //Title JFrame
                "i'm title notification",  //Title Notification
                "i'm msg", //Message
                Toast.LONG_DELAY); //Duration

Warning Notification - SHORT_DELAY

        new Toast.ToastWarning(
                "Message", 
                Toast.SHORT_DELAY);

Error Notification - LONG_DELAY

        new Toast.ToastError(
                "MA FRIEND",  //Message
                Toast.LONG_DELAY); //Delay

Custom Notification

        new Toast.ToastSteam( //Custom Notification
                "MA FRIEND", //Title
                "ANY GAME", //Message
                CUSTOM_DELAY); //Duration

image

Built With

  • Netbeans
  • Java 1.8 (Swing)

Authors

  • Abner Rodrigues - Initial work - kingaspx