Question: How would I implement a login/register program in Java using a text file? Program will read from the text file to see if user exists
How would I implement a login/register program in Java using a text file? Program will read from the text file to see if user exists and can successfully login, if not, it will add a user to the text file. Here are the images of the GUI and the login class.
Text file

Login class java code I have so far

GUI of the login page

Code for GUI:

login - Notepad File Edit Format View Help User123, Password123 public class Login { public static boolean Login (User user, String username, String password) { return false; } Welcome! Please login to continue. Username: Password: Login No Account? Create Account * regenerated by the Form Editor. */ SuppressWarnings ("unchecked") //
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
