Software Requirements: Latest version of NetBeans IDE • Java Development Kit (JDK) 8 Procedure: 1. Create a folder named LastName_FirstName (ex. Reyes_Mark) in your local drive. 2. Create a new project named TaskPerf6. Set the project location to your own folder. 3. Write a program that will: a. Ask the user to select between two (2) options: Register: User shall input his desired username and password. These shall be saved in a text file named records.txt. Only alphanumeric characters are allowed. Login: User is asked to input a username and password. Validate using the text file created from the Register option. If both the username and password are correct, display the message "Successfully logged in", else, display "Incorrect username or password".

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter14: Files And Streams
Section: Chapter Questions
Problem 1E
icon
Related questions
Question
Software Requirements:
Latest version of NetBeans IDE
Java Development Kit (JDK) 8
Procedure:
1. Create a folder named LastName_FirstName (ex. Reyes_Mark) in your local drive.
2. Create a new project named TaskPerf6. Set the project location to your own folder.
3. Write a program that will:
a. Ask the user to select between two (2) options:
Register: User shall input his desired username and password. These shall be saved
in a text file named records.txt. Only alphanumeric characters are allowed.
Login: User is asked to input a username and password. Validate using the text file
created from the Register option. If both the username and password are correct,
display the message "Successfully logged in", else, display "Incorrect username or
password".
Transcribed Image Text:Software Requirements: Latest version of NetBeans IDE Java Development Kit (JDK) 8 Procedure: 1. Create a folder named LastName_FirstName (ex. Reyes_Mark) in your local drive. 2. Create a new project named TaskPerf6. Set the project location to your own folder. 3. Write a program that will: a. Ask the user to select between two (2) options: Register: User shall input his desired username and password. These shall be saved in a text file named records.txt. Only alphanumeric characters are allowed. Login: User is asked to input a username and password. Validate using the text file created from the Register option. If both the username and password are correct, display the message "Successfully logged in", else, display "Incorrect username or password".
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Linux
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,