I created this project, because I was sick of how Swing GUIs typically look. In my opinion, this is a much more user-friendly UI than anything I've seen online. Enjoy!
Screenshot:
Event Handler Video:
private final Toaster toaster = new Toaster(mainJPanel);
toaster.error("An error event!!", "Or multiple at once");
toaster.warn("A warning event!", "Or multiple at once");
toaster.info("An informational event.", "Or multiple at once");
toaster.success("A successful event!", "Or multiple at once");
git clone https://github.com/ProductOfAmerica/LoginGUI.git
- Change the
lumo_placeholder.png
under/resources
to your own logo. - Change the login handler methods.
- Compile with
javac LoginUI.java
- Run with
java LoginUI.class
Intellij note: If an NPE is thrown when you first run this project, the IDE probably doesn't recognize your resources
directory as a resources directory.
To fix this problem, go to Project Structure CTRL + ALT + Shift + S
, then mark the resources
folder as resources: