https://github.com/productofamerica/logingui
A modern login user interface, written using Java Swing.
https://github.com/productofamerica/logingui
design gui java modern modernui nice-concept sexy swing swing-gui ui user-interface
Last synced: about 1 year ago
JSON representation
A modern login user interface, written using Java Swing.
- Host: GitHub
- URL: https://github.com/productofamerica/logingui
- Owner: ProductOfAmerica
- Created: 2018-01-06T04:32:01.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-12T01:01:28.000Z (over 8 years ago)
- Last Synced: 2025-03-31T11:51:08.283Z (about 1 year ago)
- Topics: design, gui, java, modern, modernui, nice-concept, sexy, swing, swing-gui, ui, user-interface
- Language: Java
- Size: 618 KB
- Stars: 54
- Watchers: 3
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Swing Login GUI With Toast
## Description
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!
## Examples:
**Screenshot:**

**Event Handler Video:**

## Code Examples:
```java
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");
```
## Setup Instructions:
1. `git clone https://github.com/ProductOfAmerica/LoginGUI.git`
2. Change the `lumo_placeholder.png` under `/resources` to your own logo.
3. Change the login handler methods.
4. Compile with `javac LoginUI.java`
5. 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:
