I built an application, Which has a table with sorting support and dynamic addition and deletion of rows.. When the new rows are added in the sorted order, the repaint triggered in between sorting goes on. The table shows unordered rows.. I am getting messages in the thread, which is used to update the table dynamically. How to make the ordered set of rows in the table, while there are large number of messages are coming into the Table? How to block the repaint method smoothly without affecting the performance of the application.. please, guide me in this regard.. by, stp
by,<br />stp<br /> <br />Have a Nice Day...
Shirley Li
Greenhorn
Joined: Sep 22, 2000
Posts: 14
posted
0
Hi, I also have an application which performs sorting of the columns. It works fine even though i have 800 to 900 rows. Are you using Java1.4? shirley
Chantal Ackermann
Ranch Hand
Joined: Sep 28, 2000
Posts: 508
posted
0
are you using a custom renderer? if so, you should have a look at DefaultTableCellRenderer.java in jdk1.4. it overwrites several methods to improve performance. chantal
Thanga prakash Somasundaram
Greenhorn
Joined: Feb 07, 2003
Posts: 21
posted
0
Hi all,
Thanga prakash Somasundaram
Greenhorn
Joined: Feb 07, 2003
Posts: 21
posted
0
Hi all, ignore the previous empty reply.. thanks for immediate response.. i am using java 1.3.. I am using TableSorter --derived from --> TableMap -->AbstractTableMode and implements TableModelListener... while dynamic addition of rows, the repaint process displays unordered list of rows in the table. Pls, help me