Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

connection of jdbc with jframe  RSS feed

 
Nahhyan jugal
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


How to connect JDBC(MySQL) with JPanel.I have a login page or login panel and i want to connect jdbc(MySQL) with that lagin panel for which i can login a person by checking id and password...
 
Leonardo Jose Gomes da Silva
Greenhorn
Posts: 7
Linux Oracle Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nahhyan jugal wrote:

How to connect JDBC(MySQL) with JPanel.I have a login page or login panel and i want to connect jdbc(MySQL) with that lagin panel for which i can login a person by checking id and password...




Hey man!

You can use a specific class and method responsible for that, look a sample example:




And you call the method when you need to user, like:




Hugs
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!