?
Solved

JTable using NetBeans  , retrieve data from database

Posted on 2006-11-21
5
Medium Priority
?
8,745 Views
Last Modified: 2012-06-21
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
0
Comment
Question by:moodyahmad
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 14

Expert Comment

by:hoomanv
ID: 17987532
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
 

Author Comment

by:moodyahmad
ID: 17989916
please can you help me in using the SwingSet compnent
0
 
LVL 14

Accepted Solution

by:
hoomanv earned 2000 total points
ID: 18001261
Download the demo source codes, Example5 shows how to populate query data in a Table component
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month12 days, 16 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question