Solved

JTable using NetBeans  , retrieve data from database

Posted on 2006-11-21
5
8,682 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 500 total points
ID: 18001261
Download the demo source codes, Example5 shows how to populate query data in a Table component
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
tomcat administrtor 12 68
use lov values 2 72
Chrome and Firefox Java 5 68
maven disable workspace resolution 1 40
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
The viewer will learn how to implement Singleton Design Pattern in Java.
This video teaches viewers about errors in exception handling.

733 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