Skip to content

PiyushBadhe/SwingLoginForm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

SwingLoginForm

Generic badge Generic badge

Problem Statement: To create a functional login GUI that enables users to enter login credentials and, upon verification, respond accordingly.
With the help of the CANCEL button, users can terminate login and exit the GUI.

Features:

  • Individual input text fields for both username and password
  • Cancel button to terminate login and exit application
  • Login button to let user log-in
  • Close application button (default swing button)

Taking this idea into code, a best way to create and place the components is to use GridLayout of 3 rows and 2 columns as per the UI Layout idea shown below

Column1 Column2
Row1-Label1 Row1-TextField1
Row2-Label2 Row2-TextField2
Row3-Button1 Row3-Button2
  • Label1 - UserName
  • Label2 - Password
  • TextField1 - (Input) UserName
  • TextField2 - (Input) Password
  • Button1 - CANCEL
  • Button1 - LOGIN

Basic UI idea of the Login Form

About

A simple yet great Java Swing Fun Project to start with

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages