Hi, i am beginner in java. I doing my final year project in Java Swing. So far, somehow through some online tutorials and articles, i learned to finish 30$ of my project. Now, i need to know how to insert the data from my database into Jtable and display it.... This is my project output message actually. So, please i need help to finish off my project successfully.
For last three days, i went through lot of tutorials and articles but none can help in guiding to insert data (which is returned from database and saved in ResultSet obj) into Jtable and run it.
I am struck pretty much in beginning itself. I am using Netbeans 7.1
1) I dragged Jtable and dropped in the jframe.
2) I clicked table contents
3) Then selected bound options
4) Then clicked on "Import data to form"
After clicking, the import progress keeps on going for hours (at present the database is empty since only when project is running, data are fed to database to show).
I am doing the step wrongly?
Is their any other way to insert data queried from mysql database in Jtable? may be any function?