L
Liz
You can use QuickTable to load large number of rows into JTable.
QuickTable initially loads the number of rows which are visible to
users. As the user scrolls down, the data is loaded from Resultset.
Eventually if the users scrolls all 1 billion records they are going to
run into all issues mentioned in this thread. At least quicktable can
help you to load rows as needed instead of loading the full data at
startup.
In quicktable, you can load database query results into JTable in few
statements.
quickTable.setSelectSql("select * from table1");
quickTable.refresh();
Your data will be shown in JTable.
QuickTable is a free java component (http://quicktable.org) which is an
implementation on top of JTable , but hides all the complexities and
allows to use the JTable methods. So you can just replace Jtable with
QuickTable.
QuickTable initially loads the number of rows which are visible to
users. As the user scrolls down, the data is loaded from Resultset.
Eventually if the users scrolls all 1 billion records they are going to
run into all issues mentioned in this thread. At least quicktable can
help you to load rows as needed instead of loading the full data at
startup.
In quicktable, you can load database query results into JTable in few
statements.
quickTable.setSelectSql("select * from table1");
quickTable.refresh();
Your data will be shown in JTable.
QuickTable is a free java component (http://quicktable.org) which is an
implementation on top of JTable , but hides all the complexities and
allows to use the JTable methods. So you can just replace Jtable with
QuickTable.