Commvault interview question

This one is from Java Swings. Write a program to display a table with a large size of data from an backed data source. consider pagination and indexing.