How are you changing the data?

----- Original Message -----
From: "Reinstein, Lenny" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 12, 2002 3:36 PM
Subject: Refreshing the view of JTable.


> I use a simple model that implements AbstractTableModel. I have a
> 2-dimensional String array that represents the data. When I change the
data,
> I want the table view to be updated right away. However, it only updates
the
> view of the current row when I switch to a different row. Calling
> revalidate() and updateUI() on the table did not help, as well as calling
> fireTableDataChanged() on the model.
>
> Any ideas?
>
> Thanks.
> _______________________________________________
> Advanced-swing mailing list
> [EMAIL PROTECTED]
> http://eos.dk/mailman/listinfo/advanced-swing
>


_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to