🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #11500

JTable with variable length

#11500
From: Stephan Grimm
Date: Thu, 27 May 1999 00:00
22 lines
1205 bytes
To a JTable I want to associate a TableModel that gets the Data from a
XML-file.
The problem is, that the number of rows is unknown. Only a small part of
the data in the file shall be buffered in Memory. More data (in both
directions) shall be retrieved from the file on demand, depending on the
table's scrollbar.
I don't know how to implement the methods that need fixed coordinates
and those like getRowCount();

Has anyone experience with this kind of problem (to view data in a
JTable while only a part of the data can be stored in memory) ?
Perhaps an example of something similar would be very useful.
--



-Stephan Grimm-

<Stephan.Grimm@mgm-edv.de>
<grst0018@fh-karlsruhe.de>

GERMANY
Technical Details
Message-ID: <374D3B54.C0BC5DB7@mgm-edv.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,d3946681fec03433,start
X-Google-Attributes: gid111d45,public
From: Stephan Grimm <Stephan.Grimm@mgm-edv.de>
Subject: JTable with variable length
Date: 1999/05/27
Message-ID: <374D3B54.C0BC5DB7@mgm-edv.de>
X-Deja-AN: 482693020
Content-Transfer-Encoding: 7bit
Organization: mgm
X-Accept-Language: de,en
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing