0
Please help me how to go from window (login and password to the program)?
16 odpowiedzi
+ 1
thank you very much
+ 1
if i am working on a project without database just i can use files my question is that if i want to ask the user to enter a name and i want to save this name so each time i will save the each name in a file ?
+ 1
Yeah, you are right.
We can either store the info in database or in a file.
+ 1
you mean that is a right way each name in a file ?
+ 1
thank you 🌷
0
Could you please explain a bit more?
0
i am making a program that take names of student i want to make a login window by the window builder in java and i want when the user enter the password correctly then the register widow will open
0
Oh, so where is the issue you are facing in?
0
Why the register window open when the user login from login window?
0
how to relate login window by the register
0
First tell me,
Are you using Java Swing?
0
yes
0
Great. I think you should begin with a form with 2 buttons-
login and register.
0
Then link the login button with login form and register button with register form.
When the user login with right username and password. He/she should be redirected to another page.
When the user registers, he/she should ne redirected to login page.
0
I hope it helps
0
if you want to store the credentials then yes, file.