Skip to content

This Java login application demonstrates creating a graphical user interface (GUI) for user authentication using `JFrame`, `JButton`, `JTextField`, `JPasswordField`, and `JLabel`.

Notifications You must be signed in to change notification settings

Statute8234/Java-form-login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Static Badge Static Badge Static Badge Static Badge Static Badge Static Badge Static Badge Static Badge Static Badge Static Badge Static Badge

Table of Contents

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

    git clone https://github.com/your-username/your-forked-repo.git
    
    

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

This Java login application demonstrates creating a graphical user interface (GUI) for user authentication using `JFrame`, `JButton`, `JTextField`, `JPasswordField`, and `JLabel`.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages