This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with a jtable

 
Laurent Quenon
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,

I have a jtable using a tablemodel, but when I change the data in my vector the changes are not shown in my GUI, even if after the changes in the vector I use firetabledatachanged.

I have several question :

1) do I need to add a listener somewher for that event?
2) If the event is really executed the getvalueat method should be executed too right?
3) if the changes of the data is done in the table model itself should I use this in front of the firetabledatachanged?

Thanks a lot for your help.
 
Laurent Quenon
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Addition to my previous post here is a bit more on the problem I have...
So, even if the vector is filled in correctly the method getvalueat is never executed... Why?
This has the consequence that my table is always empty.

Greetings.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic