An open API service indexing awesome lists of open source software.

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.

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:**

![Screenshot](.github/updated_screenshot.png)

**Event Handler Video:**

![Test Video](.github/example2.gif)

## 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:

![Fix Resources NPE](.github/resources_fix.png)