Skip to content

excelmicro/FX-Toaster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toaster

Provides a small set of simple FX Panes allowing customizable toast notifications in JavaFX GUI applications.

Toaster can be easily added to any project by simply wrapping whatever panes you like with a NotificationPane using FXML or raw Java.

Examples

Sample FXML
<NotificationPane [...] fx:id="noteStack">
  <VBox>
    <Button text="Add Note" onAction="#addNote" />
  </VBox>
</NotificationPane>
Sample Controller
public class Controller
{
  @FXML
  private NotificationPane noteStack;

  @FXML
  private void addNote( final Event ignored )
  {
    noteStack.notify(new Notification("Hello World"));
  }
}

Change Log

v1.1.0
  • Added getter for NotificationAnchorStack to NotificationPane

  • Added getter for header Label to Notification

v1.0.0

Initial Release

About

Tiny JavaFX Toast Notification Implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published