Hello,
This is a class I wrote that creates a simple pop-up notification at the bottom of the screen. It's animated and can be fully customized.
At the moment, only one position is supported, which is at the bottom right of the screen.
Features:
This is a class I wrote that creates a simple pop-up notification at the bottom of the screen. It's animated and can be fully customized.
At the moment, only one position is supported, which is at the bottom right of the screen.
Features:
- Set custom text and background colors
- Set a custom title and message
- animation, toast style (non linear animation, slowing down)
- Set custom Icon
- 2 events can be retrieved, 1) when the user clicks the [X] button, 2) when the user clicks the notification
- Can set the offset from the border of the screen manually
[Edit] Minimum Java 8u20
[Edit] Added new methods:
- Notification will stay on top of other windows
- Fixed a possible bug
- Added the events so that they show in the event list when creating a new sub.
- Event "_Closed" and "Action" are now called with a delay (callsubdelayed)
[Edit] Added library description to first post and some thumbnail images.
- MessageColor
- TitleColor
[Edit] Modified the library a bit, with script breaking changes:
- Renamed the method: "Text" ( and setText) to "Message", so it is now clearer
Attachments
Last edited: