Re: Why does fireTableDataChanged cause getValueAt called repeatly?
- From: Allen <chenal@xxxxxxxxxxx>
- Date: 6 May 2007 20:43:36 -0700
On 5月7日, 上午11时19分, Tom Hawtin <use...@xxxxxxxxxxxxxxxxx> wrote:
Allen wrote:
Now I use fireTableRowInserted method. It also calls getValueAt
endlessly.
I only add two rows into the table. Look these output message.
Literally endlessly? Are you sure you are not causing the table model to
fire events from getValueAt or causing repaints/revalidates in some
other way?
Tom Hawtin
Sorry. I found the reason now. I used my custermized multiline
textarea cell renderer.
And I just overrided getTableCellRendererComponent method of
TableCellRenderer interface.
Now I change to use TextAreaRenderer download from
http://www.javaspecialists.co.za/archive/newsletter.do?issue=106&locale=en_US.
It is ok now.
Thank you!
.
- References:
- Why does fireTableDataChanged cause getValueAt called repeatly?
- From: Allen
- Re: Why does fireTableDataChanged cause getValueAt called repeatly?
- From: Tom Hawtin
- Re: Why does fireTableDataChanged cause getValueAt called repeatly?
- From: Allen
- Re: Why does fireTableDataChanged cause getValueAt called repeatly?
- From: Tom Hawtin
- Re: Why does fireTableDataChanged cause getValueAt called repeatly?
- From: Allen
- Re: Why does fireTableDataChanged cause getValueAt called repeatly?
- From: Tom Hawtin
- Why does fireTableDataChanged cause getValueAt called repeatly?
- Prev by Date: Re: JSP : How to set a link with string parameter
- Next by Date: Re: Controlling an app server programmatically...
- Previous by thread: Re: Why does fireTableDataChanged cause getValueAt called repeatly?
- Next by thread: simplest webservice client ever
- Index(es):