Skip to content
Advertisement

Tag: text-files

(TXT File) Java GUI Login

I want to login from a text file called “members.txt” which using 2nd (username) and third (password) line with “/” delimiter. But when I run it, it seems they recognize all of text file’s account in sequence. Please help. Here’s my code. Answer Actually you are reading every line and if user/password doesn’t match, you print error message in else

Advertisement