I was wondering if anyone knew of a Swing-based alternative to JTable that handled its own scrolling instead of having to be put in a JScrollPane.
Let me explain why. I am currently working on a project where I will need to display up to 1.6 GB of data from a database in a tabular format. I've spent the last week and a half researching JTable and all of its associated classes. What I've learned leads me to believe that JTable is inadequate for reasons which follow.
JTables with datasets too large to be displayed on screen need to be put into a JScrollPane which acts as a moving window over components that are too large to fit on screen. This satisfies the requirement of being able to have an absurdly large JTable that doesn't use paging. However, the entirety of the JTable is still created which results in the TableModel being asked for all of the data. I may be wrong on that point, but my practical experience and a lack of documentation about the underpinnings of this stuff suggests that I'm not.
I need a JTable that will continuously scroll over an enormous dataset that is paged from the database and cached (only about 100-300 records) in the TableModel side that (PAY ATTENTION! THIS IS THE IMPORTANT PART) only asks for the data in the visible area of the table. My experience suggests that the standard JTable in a JScrollPane will ask for ALL of the data regardless of what is visible preventing any sort of back-end paging from working. Tell me I'm wrong and show me a working counterexample or point me to a third party component that behaves the way I need.