JTable using NetBeans , retrieve data from database

hi experts

can you tell me how i can retrieve data from database "MySql" and binding this data "Customers table" to jtable component , i am now new to swing and use the NetBeans IDE  , please help me in step by step in details how i can retrieve data from database to JTable component for view by using the NetBeans .

thank you
moodyahmadAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
hoomanvConnect With a Mentor Commented:
Download the demo source codes, Example5 shows how to populate query data in a Table component
0
 
hoomanvCommented:
Use already existing data-aware components.
JBuilder provides a rich API to work with JDBC compatible databases and frees you from writing low-level GUI logics for such frequent tasks like binding a QueryDataSet to a JTable component
There are also open source libraries that do this, but I've not used them

http://www.sql-workbench.net/index.html
http://swingset.sourceforge.net/index.php
0
 
moodyahmadAuthor Commented:
please can you help me in using the SwingSet compnent
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.