How do I create a program that will only continue if the specific data is in the text file. Is it possible to use BufferedReader/FileReader
to read and search in every line until it found a match input data from user. Let say I'm creating a login form and the data from the text file would be :
username;password
username1;password1
So here I'm quite confused with the if-statement, how do I make it possible to read every line in the textfile until it found the correct match and allow the user to proceed to the next frame?