Re: Count how many visible rows can be fetched into a JFrame from JTable
- From: RedGrittyBrick <RedGrittyBrick@xxxxxxxxxxxxx>
- Date: Mon, 21 Apr 2008 09:48:27 +0100
Royan wrote:
On 20 апр, 05:17, "David A. Re***" <tinyweldingto...@xxxxxxxxx>
wrote:
As a matter of personal curiosity, why aren't you using the scroll
pane?
All, thanks a lot for the answers!
Actually I intend to implement the similar functionality as you might
have seen in PL/SQL. I have a large set of remote data and I simply
want my default action to upload only the amount of data that fits
user screen. In case user wants to receive the rest of the data he
will initiate the corresponding action that would upload the rest of
the data from server.
I suspect that a good way to handle this is to use the usual JScrollPane to give the user a scrolling display, but extend AbstractTableModel to handle the retrieval of data from the database on an as-needed basis rather than all at once. You can still cache a subset of rows.
--
RGB
.
- References:
- Prev by Date: 2. Gather Information
- Next by Date: Nurses have strict rules about their uniforms and any nurse seen without their nursing uniforms often are reprimanded and are subject to review. Additionally, nurses will most likely have different uniforms for different tasks.
- Previous by thread: Re: Count how many visible rows can be fetched into a JFrame from JTable
- Next by thread: Re: Count how many visible rows can be fetched into a JFrame from JTable
- Index(es):