🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Refreshing JSrollPane Headings

#8942
From: Ian Foster
Date: Wed, 14 Jun 2000 00:00
15 lines
1154 bytes
I am using a JSrollPane to display a live data stream and I am using the
row and column headings as rules for the data.

What I would like to do is adjust the rule size of the rule to suit the
data as it comes in, ie., when a data point comes in that exceeds the
maximum scale in the JScrollPane I want to rescale the Viewport and
Headings to suit.

The difficulty I am having is synchronizing the refreshing of the
Viewport and the Headings so the rescaling is done to both at the same
time, can anybody offer some advice on how to do this.

Ian Foster,
Senior Systems Engineer,
Fairclough Corporation
Technical Details
Message-ID: <3946DE16.61191F11@opera.iinet.net.au>
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,ff43e74c9155c37f,start
X-Google-Attributes: gid111d45,public
From: Ian Foster <fcpl@opera.iinet.net.au>
Subject: Refreshing JSrollPane Headings
Date: 2000/06/14
Message-ID: <3946DE16.61191F11@opera.iinet.net.au>
X-Deja-AN: 634231339
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Trace: news.iinet.net.au 960945672 423 DSB5kz@203.59.83.170
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing