Can anyone please help me on how to create a login form in ja开发者_C百科va swing by using a database connection.
Here's a tutorial to create a simple login form. Replace the pseudo pass check with a check of credentials retrieved via JDBC and you're done. The login form is nothing special...
Create a simple login form and add an event listener to the submit button; and in the handler method write jdbc code to connect to any database.
精彩评论