/PasswordGenerator

A password generator app built in java swing and awt !

Primary LanguageJava

Password Generator App

The Password Generator App is a simple yet powerful Java application designed to create secure and customizable passwords. Developed with Swing, it provides a user-friendly interface for generating passwords that can include a mix of uppercase and lowercase letters, numbers, and special characters, with options to avoid ambiguous characters.

Features

Customizable Password Length: Choose the length of your password, from 4 to 20 characters.

Character Selection: Options to include or exclude lowercase letters, uppercase letters, numbers, and special characters in your password.

Avoid Ambiguous Characters: An option to exclude similar and ambiguous characters to prevent confusion.

Clipboard Support: Easily copy the generated password to the clipboard with one click.

Visibility Toggle: Securely view or hide your generated password within the application.

How to Use

Select the character types you want to include in your password (lowercase, uppercase, numbers, and/or special characters). Choose a password length with the spinner control. Click Generate Password to create a new password. Use the Copy to Clipboard button to copy the password for easy pasting into other applications. The Clear button resets the password field and selections for a new generation. Toggle the visibility of the generated password with the Show Password/Hide Password button.

ScreenShots

Screenshot (805)

Screenshot (807)

Prerequisites

Before running the Password Generator App, ensure you have the Java Development Kit (JDK) installed on your system. The application was developed and tested with JDK version 21, but it should be compatible with most recent JDK versions.

How to Compile and Run

Open your terminal or command prompt.

Navigate to the directory containing the Password_Generator_App.java file.

Compile the Java file using the following command:

javac Password_Generator_App.java Once compiled, run the application with the command:

java Password_Generator_App The Password Generator App window should now open, and you can start generating secure passwords immediately.

Acknowledgments

Muhammad Hasnat Rasool - For creating and maintaining the project. The Java and Swing communities for their invaluable resources and support.