Here is my problem: I currently have a JTable containing anywhere from
5,000 to well over 200,000 rows. You see where I’m going with this.
The data is already loaded into memory, which isn’t a problem, but how
can I create an efficient JTable so that it only loads the rows that
are visible and that any events only act on those rows that are
visible in the viewport? Obviously scrolling is nearly impossible with
this much data, as it takes forever for the system to repaint and fire
events.
Basically I think one solution would be to determine which rows are in
the viewport, then create a new model containing those rows perhaps?
You might use a
FixedRowsTabletype design, here showing some of 200,000 rows. Though you’d want to add extra buttons << >>