开发者

User's authorization in Java Swing application

开发者 https://www.devze.com 2023-03-06 13:06 出处:网络
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 w

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.


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.
0

精彩评论

暂无评论...
验证码 换一张
取 消