https://github.com/redinfinitypro/java-form-login
This Java login application demonstrates creating a graphical user interface (GUI) for user authentication using `JFrame`, `JButton`, `JTextField`, `JPasswordField`, and `JLabel`.
https://github.com/redinfinitypro/java-form-login
actionevent actionlistener color font hashmap jbutton jframe jlabel jpasswordfield jtextfield
Last synced: 7 months ago
JSON representation
This Java login application demonstrates creating a graphical user interface (GUI) for user authentication using `JFrame`, `JButton`, `JTextField`, `JPasswordField`, and `JLabel`.
- Host: GitHub
- URL: https://github.com/redinfinitypro/java-form-login
- Owner: RedInfinityPro
- Created: 2024-07-27T21:09:11.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-12T22:27:57.000Z (over 1 year ago)
- Last Synced: 2025-06-16T23:53:38.063Z (7 months ago)
- Topics: actionevent, actionlistener, color, font, hashmap, jbutton, jframe, jlabel, jpasswordfield, jtextfield
- Language: Java
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Java Login Applicatio
font color hashmap jframe actionevent jbutton actionlistener jlabel jpasswordfield jtextfield
This is a simple Java login application that demonstrates how to create a graphical user interface (GUI) for user authentication using `JFrame`, `JButton`, `JTextField`, `JPasswordField`, and `JLabel`.
[](https://mvnrepository.com/artifact/java.util.HashMap)
[](https://mvnrepository.com/artifact/java.awt.Color)
[](https://mvnrepository.com/artifact/java.awt.Font)
[](https://mvnrepository.com/artifact/java.awt.event.ActionEvent)
[](https://mvnrepository.com/artifact/java.awt.event.ActionListener)
[](https://mvnrepository.com/artifact/java.util.HashMap)
[](https://mvnrepository.com/artifact/javax.swing.JButton)
[](https://mvnrepository.com/artifact/javax.swing.JFrame)
[](https://mvnrepository.com/artifact/javax.swing.JLabel)
[](https://mvnrepository.com/artifact/javax.swing.JPasswordField)
[](https://mvnrepository.com/artifact/javax.swing.JTextField)
## Table of Contents
- [About](#about)
- [Features](#features)
- [Installation](#installation)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)
## About
This Java login application demonstrates creating a graphical user interface (GUI) for user authentication using `JFrame`, `JButton`, `JTextField`, `JPasswordField`, and `JLabel`.
## Features
The project consists of the following classes:
1. **main**
- The entry point of the application. It initializes the `authorisation` class and opens the `loginForm`.
2. **loginForm**
- This class creates the GUI for the login form. It contains `JFrame`, `JButton`, `JTextField`, `JPasswordField`, and `JLabel` components.
- It also handles the login and reset actions through the `ActionListener` interface.
3. **authorisation**
- This class contains a `HashMap` to store login credentials and provides a method to retrieve the login information.
4. **userPage**
- A placeholder class that represents the user's page after successful login.
## Installation
## Usage
1. Compile all the Java files:
```sh
javac main.java loginForm.java authorisation.java userPage.java
## Contributing
We welcome contributions to this project! To contribute, please follow these steps:
1. **Fork the repository**: Click the "Fork" button at the top right corner of this repository to create your own copy of the project.
2. **Clone your fork**: Clone your forked repository to your local machine.
```sh
git clone https://github.com/your-username/your-forked-repo.git
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.