Question: Instructions/Design 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
Instructions/Design 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 de from Chapter 4. Start by getting this code from the ok 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 enter>. 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 letters of name Il plus a period 111 plus a 1-2 digit positive random number IV 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
Get step-by-step solutions from verified subject matter experts
