Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to update a Jtable in MVC ?

843806Jan 14 2009 — edited Jan 17 2009
Hello,

I'm having a JTable and a buttom in the view part of MVC. When the user presses the buttom, there has to be an additional line in the JTable. I'm using my own tablemodel (extending the defaulttablemodel) in de model part of MVC. When the buttom is pressed, I can add the additional data in my own tablemodel but the JTable doesn't refresh with the new data. How can I solve this problem ? I already searched the internet, used the different fire..... events but nothing seems to work.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 14 2009
Added on Jan 14 2009
5 comments
1,240 views