Today I’m going to discuss a project I’ve been working on for the past month or so on and off. It’s a JavaFX project, a library that allows you to easily integrate and create toast notifications into your own programs.
So JavaFX is a GUI library for well… Java. It’s intended to replace the old guard, Swing. For good reason too, Swing looks like garbage:
I haven’t worked with GUI libraries much, so I figured this would be a good learning experience. I chose JavaFX because:
So it makes a lot of sense to use learn and use it over something like Vaadin. Vaadin is garbage. Literal garbage. I’m using it in my Software Engineering class. It’s a pain to install, the layout system is finicky, I simply hate it.
I get it, Vaadin for web apps. No Java plugin required! Yeah…. I guess… but this chart makes me wonder:
There’s a reason why no one likes you.
Toast notifications, yum.
It’s very simple to integrate/use. Create a JToast object, set a title, message, notification type, and animation(optional). Then run showAndWait().
The structure is as follows:
The project is on my GitHub, the direct link is here. check it out and feel free to use the library in your own apps.