Skip to content

acehua/notificationfx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

English | 中文

a javafx notification component

🔎 Component description

Be inspired by:

🔎 Requirements

Compatible with any version of jdk 8 and above, because, no third-party library has been introduced, pure manual writing

🎮 Installation

maven:

    <dependency>
        <groupId>io.github.acehua</groupId>
        <artifactId>notificationfx</artifactId>
        <version>0.0.1</version>
    </dependency>

👨‍🎤 How to Use

It works much the same way as the notification component of the element ui:

    // The first way
    Notification.$notify("success","This is a successful message").setType(NotificationLevel.SUCCESS).show();

    // The second way
    Notification.$notify.success("success","This is a successful message").show();

run com.ysh.jfx.notification.TestNotification,and you can see below Effect:

Image text

Image text

Image text

Image text

Image text

Image text

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published