Results 1 to 7 of 7
Thread: Netbeans JTable
- 08-24-2009, 04:31 AM #1
Member
- Join Date
- Aug 2009
- Posts
- 66
- Rep Power
- 0
-
Netbeans has a way of binding the database to the table, and your best bet towards learning how to do this is by going through the NetBeans help files. Best of luck.
- 08-24-2009, 09:31 AM #3
Member
- Join Date
- Aug 2009
- Posts
- 66
- Rep Power
- 0
Not works palz..
seems to be no solutions for this?
- 08-24-2009, 04:48 PM #4
Senior Member
- Join Date
- Aug 2009
- Posts
- 2,388
- Rep Power
- 6
Of course it works and people have done it lots of times.
You generally have two similar options. The first is to read the Netbeans tutorials on how to bind a JTable to a database table. The second option is to read how to use TableModels and populate their values with data returned from a nice DAO layer that you would have to write yourself.
The two options are similar in that they both require you to start by reading.
- 08-25-2009, 01:20 AM #5
Member
- Join Date
- Aug 2009
- Posts
- 66
- Rep Power
- 0
yeah, finally it works..
but the JTable won't refresh after I add a new row, but for delete row, it works, because I didn't call for a new form for deleting or refreshing, but I use a new form for add (insert) a new row and it doesn't want to refresh after Insert.
And how to Update? when I use web programming, I can passing through parameter, for desktop programming, how to do like this?
Thanks againn ^^
- 08-25-2009, 08:23 AM #6
Senior Member
- Join Date
- Aug 2009
- Posts
- 2,388
- Rep Power
- 6
It all depends on how you have implemented it I guess. You'd have to isolate the problem and perhaps post parts of the code you think is relevant and misbehaving.
- 08-26-2009, 02:27 AM #7
Member
- Join Date
- Aug 2009
- Posts
- 66
- Rep Power
- 0
Similar Threads
-
How to add new row from JTable comp in netbeans GUI?
By zam in forum NetBeansReplies: 3Last Post: 03-09-2009, 07:37 AM -
Netbeans Jtable
By Manfizy in forum NetBeansReplies: 16Last Post: 11-13-2008, 09:15 AM -
Regarding JTable
By adeeb in forum AWT / SwingReplies: 12Last Post: 06-19-2008, 07:39 AM -
Jtable duplicates through Hashtable (JTable condition problem) my assignment plz help
By salmanpirzada1 in forum Advanced JavaReplies: 2Last Post: 05-15-2008, 10:15 AM -
How to add in a new row in Jtable?
By Ry4n in forum AWT / SwingReplies: 0Last Post: 01-18-2008, 12:26 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks