Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

User's authorization in Java Swing application

Tags:

java

swing

I'm new to programming,now I'm writing Java Swing application. One of the main tasks is to provide user's authorization (admin, unregistered/registered user). I don't now the best way to realize it. Please give me advice. Thanks.

like image 967
andre Avatar asked Jul 27 '26 19:07

andre


1 Answers

Steps can be...

  1. Make a database that contains username/password. [You may also have other system to store username/password instead of database based on your need.]
  2. Create a login frame that asks for username/password.
  3. On click of Login button check entered username/password with that in database.
  4. If correct username/password then show next frame or show error.
like image 120
Harry Joy Avatar answered Jul 30 '26 09:07

Harry Joy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!