This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JDBC and Relational Databases 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 and Relational Databases
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: connection of jdbc with jframe
 
It's not a secret anymore!