|
I've two questions regarding loading large amount of data to jTable: Currently, I load the data into a Vector. The Vector is then passed to a class that extend AbstractTableModel. This works well, however, I encounter the following two problem: 1) When user's request result in a large amount of data, the program receives java.lang.OutOfMemoryError. In RPG, we typically load one page at a time using subfile, which result in good performance and user knows to redefine the request to get to the page he/she wanted. What is the typical way of handle this in java? 2) I would like to display the table to the user as the data is being loaded, much like open a large Excel spreadsheet, user is able to scroll down as the data continue to load. thanks
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.