Giter Club home page Giter Club logo

jeninsutradhar / uiloginsystemjavaswing Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 495 KB

This Modern Login System is a Java Swing-based graphical user interface (GUI) application that provides a simple and user-friendly login system. Users can easily log in with their predefined usernames and passwords. This project aims to offer a modern and sleek login experience for users while maintaining simplicity and ease of use.

Java 100.00%
java java-swing java-swing-application java-swing-gui java-swing-project swing swing-components swing-gui

uiloginsystemjavaswing's Introduction

Modern Desktop UI Login System in Java Swing

This Modern Login System is a Java Swing-based graphical user interface (GUI) application that provides a simple and user-friendly login system. Users can easily log in with their predefined usernames and passwords. This project aims to offer a modern and sleek login experience for users while maintaining simplicity and ease of use.

How it Works

The ModernLoginSystem consists of several Java classes:

sample.mp4
  • Main.java: The main class to start the application. It initializes the login page.
  • IDandPasswords.java: Stores predefined usernames and passwords in a HashMap.
  • LoginPage.java: Creates the login page with text fields for username and password, along with login and reset buttons. It validates user input and displays appropriate messages.
  • WelcomePage.java: Displays a welcome message upon successful login and provides a clickable link to redirect users to a custom domain.

Adding ID and Passwords

To add new ID and passwords, users can directly modify the IDandPasswords.java file. Simply add new entries to the logininfo HashMap with the desired username-password pairs.

public IDandPasswords() {
    logininfo.put("username1", "password1");
    logininfo.put("username2", "password2");
    // Add more username-password pairs as needed
}

Features

  • User-Friendly Interface: The application provides a modern and sleek login interface with text fields and buttons for easy interaction.
  • Validation: It validates user input for both username and password fields and displays appropriate messages for invalid input.
  • Reset Functionality: Users can reset the input fields with the click of a button for convenience.
  • Welcome Message: Upon successful login, users are greeted with a welcome message and provided with a clickable link to navigate to a custom domain.

uiloginsystemjavaswing's People

Contributors

jeninsutradhar avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.