F
FET
Hi,
I have a large number (over 100,000) records in a resultset, which I
would like to display in a JTable. I have extended the
AbstractTableModel and implemented the necessary methods. The problem
is that loading such a huge amount of data takes a lot of time.
So I used a thread to load the data into the Vector (Abstract Table
Model). But I would like to filter the data depending on user's
selection (after all the data has been loaded). So when I try to edit
the items in the Vector to filter it out, I get a
java.util.ConcurrentException. I have synchronized the methods in the
table model, but to no use. Also the GUI becomes very slow when this
table loads, even though it is loading in a separate thread.
Is there any other (less performance penalty) way of showing a large
amount of data in a JTable ?
Thanks in advance!
Best regards.
I have a large number (over 100,000) records in a resultset, which I
would like to display in a JTable. I have extended the
AbstractTableModel and implemented the necessary methods. The problem
is that loading such a huge amount of data takes a lot of time.
So I used a thread to load the data into the Vector (Abstract Table
Model). But I would like to filter the data depending on user's
selection (after all the data has been loaded). So when I try to edit
the items in the Vector to filter it out, I get a
java.util.ConcurrentException. I have synchronized the methods in the
table model, but to no use. Also the GUI becomes very slow when this
table loads, even though it is loading in a separate thread.
Is there any other (less performance penalty) way of showing a large
amount of data in a JTable ?
Thanks in advance!
Best regards.