Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Note: Only one algorithm needed. Place in comment at top of driver program file (PassWordCreator.java) 1) Write a GUI application that displays a password based

image text in transcribed
Note: Only one algorithm needed. Place in comment at top of driver program file (PassWordCreator.java) 1) Write a GUI application that displays a password based on user input into 2 TextFields Note: We are updating the FahrenheitConverter java code from Chapter 4. Start by getting this code from the book to work first before making updates. Your program will contain 2 classes A) A class called PassWordCreator inside a file named PassWordCreator.java This class contains the main() method that creates and displays the 'window for the program.This is the driver program. B) A class called PassWordPane that instantiates 4 Labels and 2 TextFields. It also contains the handlers' that 'listen and respond when a user types into the TextFields and presses center, In Java FX these 'listeners" are method references. Hint: Each TextField needs its own 'listener. As they are methods, you can name them what you want The file is named PassWordPane.java The password is displayed by the 4th Label and uses this algorithm (this is NOT the algorithm for the program as a whole): Ifirst 2 letfers of name Ir plus a period Il plus a 1-2 digit positive random number V plus last 4 digits of date Note: The first label must display your own name(s) Note: Only one algorithm needed. Place in comment at top of driver program file (PassWordCreator.java) 1) Write a GUI application that displays a password based on user input into 2 TextFields Note: We are updating the FahrenheitConverter java code from Chapter 4. Start by getting this code from the book to work first before making updates. Your program will contain 2 classes A) A class called PassWordCreator inside a file named PassWordCreator.java This class contains the main() method that creates and displays the 'window for the program.This is the driver program. B) A class called PassWordPane that instantiates 4 Labels and 2 TextFields. It also contains the handlers' that 'listen and respond when a user types into the TextFields and presses center, In Java FX these 'listeners" are method references. Hint: Each TextField needs its own 'listener. As they are methods, you can name them what you want The file is named PassWordPane.java The password is displayed by the 4th Label and uses this algorithm (this is NOT the algorithm for the program as a whole): Ifirst 2 letfers of name Ir plus a period Il plus a 1-2 digit positive random number V plus last 4 digits of date Note: The first label must display your own name(s)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

AWS Certified Database Study Guide Specialty DBS-C01 Exam

Authors: Matheus Arrais, Rene Martinez Bravet, Leonardo Ciccone, Angie Nobre Cocharero, Erika Kurauchi, Hugo Rozestraten

1st Edition

1119778956, 978-1119778950

More Books

Students also viewed these Databases questions

Question

What is media access control, and why is it important?

Answered: 1 week ago