Hello,

in my Java application, data in a table can be modified only by program
-calling a method- (not because a user edits the table). In such
situation, I think I have to notify to the table that its data have
changed. However, I find in the AbstractTableModel two methods:
fireTableDataChanged() and fireTableChanged(TableModelEvent e).
Which one should I use in which situations?.

Must I do something else apart from calling this method?. The problem I
have is that my table is not updated when its data change. The first time the table is 
updated, all works well. Sucessive times works only if
the number of rows the new table has its less than or equal to the
number of rows it had the first time. I use my own renderers.

I hope you can help me.

Thanks a lot                                            
__________________________________________________
Si tienes un amigo tienes un tesoro....
http://www.telepolis.com/conectate/conectate.htm

Reply via email to