permaculture playing cards
The moose likes Swing / AWT / SWT and the fly likes Problem with a jtable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Problem with a jtable" Watch "Problem with a jtable" New topic

Problem with a jtable

Laurent Quenon

Joined: Dec 09, 2003
Posts: 11
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

Joined: Dec 09, 2003
Posts: 11
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.

I agree. Here's the link:
subject: Problem with a jtable
It's not a secret anymore!