aspose file tools*
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Problem with a jtable" Watch "Problem with a jtable" New topic
Author

Problem with a jtable

Laurent Quenon
Greenhorn

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
Greenhorn

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.

Greetings.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with a jtable
 
Similar Threads
JTable(!!!)
JTable and Model
JTable
how to delete row from Jtable
JTable update