Question: Hi, this is a program for Java. The goal of this project is to create a GUI program that generates random passwords for the user.

Hi, this is a program for Java. The goal of this project is to create a GUI program that generates random passwords for the user. The program should consist of the following swing components:

1 JButton to create a password

4 JRadioButtons to allow the user to select the size of the password in characters (8, 16, 24, 32)

3 JCheckBoxes to allow the user to select a level of complexity for the password (Use Caps, Use Special Characters, Use Numbers

1 JTextField to display the created password When the create password button is clicked by the user the program should generate a password of random characters with a length equal to the value chosen by the radio buttons.

The password should consist only of lower case characters (a-z) unless the user has checked any of the various checkboxes to make the password more complex by including capital letters, numbers, or special characters ($!@#$%&).

Finally, if a password has been generated and the user attempts to close the window, prevent the window from closing and display a dialog box reminding the user to securely record their new password somewhere (like on a post-it note attached to the monitor).

Here is an example of what the GUI could look like (this represents a bare minimum of layout and style, it can be different).

Hi, this is a program for Java. The goal of this project

Password Gen O 8 character 16 characters O 24 characters O 32 characters Special Characters Numbers Capitals Generate Password Password Gen O 8 character 16 characters O 24 characters O 32 characters Special Characters Numbers Capitals Generate Password

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!