aspose file tools*
The moose likes JDBC and the fly likes connection of jdbc with jframe Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "connection of jdbc with jframe" Watch "connection of jdbc with jframe" New topic
Author

connection of jdbc with jframe

Nahhyan jugal
Greenhorn

Joined: Dec 22, 2011
Posts: 1


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

Joined: Dec 26, 2011
Posts: 7

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


Don't matter if your code are running, it need to be organized and well done!

Leonardo J. G. Silva
Analyst/Developer
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: connection of jdbc with jframe