You are required to write a Java console program using Netbeans IDE. Your task is to design and code a Java program that will achieve the following:
On starting load the use details from a text file that is provided. Your program must display an error message if the file is not found or if there is no data.
Display a message asking the user to enter user name and password. The program must display incorrect login message and ask the user to re-enter login details if the user enter incorrect user name or password.
Display a menu when the user entered correct login details. The menu asks the user to select: display user profile, modify user profile, tax rate or exit.
If the user chooses to display user profile the program display all the user profile for the login user and shows the menu again.
If the user chooses to modify user profile the program must allow the user to enter new profile and update the user details in the text file and shows the menu again.
When the user chooses tax rate, the program calculates and display the tax rate according to the user salary. The program then shows the menu again.
The program terminates when the user select exit.
Program should be properly commented and indented.