0

hello frnds....i am mukul working on a java project using mysql database and swings in netbeans ide
can anyone tell me how to retrieve data from mysql and show tha data in JTable......in netbeans.......
i know how resultset and statements commanda.......but dont know how to show that data in JTable

3
Contributors
5
Replies
6
Views
7 Years
Discussion Span
Last Post by mukulnimker
0

Have you read the Java Tutorial about how to use JTables?
You need to understand them before trying to use them.

0

i,ve tried them .but there is some problem while using in netbeans..............

0

There shouldn't be any problem with NetBeans or any other IDE. The code not working rarely has anything with the IDE.
If you have some code that you can't get to work just post it with specific questions.

But first read some tutorials on how to read data from database (and store them into objects).
Then read about JTable and how to display values.
Then use the values from the object and display them at the JTable

Edited by javaAddict: n/a

0

well i,ve read some stufff but i think i should make myself more comfertable with JTable............welll thanx for your advice .......thanx all

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.