Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #38282

Re: how do you block the GUI repaints?

Path csiph.com!eternal-september.org!feeder.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From Eric Sosman <esosman@comcast-dot-net.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: how do you block the GUI repaints?
Date Wed, 23 May 2018 11:06:50 -0400
Organization A noiseless patient Spider
Lines 30
Message-ID <pe402e$5m9$1@dont-email.me> (permalink)
References <2ddef1c1-ac37-4384-a3a5-f9b94a1fcbf6@googlegroups.com> <pe1n5c$toi$1@dont-email.me> <7da12ca3-a20e-4b84-a2f0-6e26657c4848@googlegroups.com> <pe1uk3$o69$1@dont-email.me> <9ca8b690-f847-4089-aeb2-8375b643ccf5@googlegroups.com> <pe2449$t9o$1@dont-email.me> <slrnpg9608.auk.avl@logic.at> <7945bc92-fb5f-44df-9699-bec065a7f4ed@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Wed, 23 May 2018 15:06:54 -0000 (UTC)
Injection-Info h2725194.stratoserver.net; posting-host="c65e12553d8b3bfd0ae8fed802fed64f"; logging-data="5833"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19mn2n3fO/nV7qIbF4xCVQc"
User-Agent Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0
Cancel-Lock sha1:45rXtK/iSk1tIOmyrhEs3FEBpBY=
In-Reply-To <7945bc92-fb5f-44df-9699-bec065a7f4ed@googlegroups.com>
Content-Language en-US
Xref csiph.com comp.lang.java.programmer:38282

Show key headers only | View raw


On 5/23/2018 10:55 AM, Eric Douglas wrote:
> On Tuesday, May 22, 2018 at 6:22:08 PM UTC-4, Andreas Leitgeb wrote:
>> Eric Sosman wrote:
>>>       It doesn't seem to me that "Dump it in a text display" is a
>>> reasonable way to present this quantity of data.  Nobody can read
>>> that much text.
> 
> I don't know what it's limits are on the amount of text it can hold at one time.  On a large file I'm normally just looking at the beginning and/or the end, and I'd like to add a search function.  If for some reason we need to read the whole thing we may need to enlist some congressional aides.  If we're just jumping around, the JScrollPane seems efficient thus far.

     Okay, it's your program, do as you like.  I'll offer just
one more back-of-the-envelope calculation in one final attempt
to dissuade you from your folly:

     - Assume three million pages' worth of content (or maybe
       six million if it's a one-byte-per-character encoding)

     - Assume a screen height of around 2000 pixels (mine is
       about half that, but perhaps you've got Big Hardware)

     - It follows that moving the scroll thumb by one pixel
       will move the view by 3000000/2000 = 1500 pages.

     - ... that is, to advance by one page you should move the
       scroll thumb by two-thirds of one millipixel.

     Have fun navigating!

-- 
esosman@comcast-dot-net.invalid
Nine hundred seventy-three days to go.

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

how do you block the GUI repaints? Eric Douglas <e.d.programmer@gmail.com> - 2018-05-22 10:59 -0700
  Re: how do you block the GUI repaints? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2018-05-22 13:22 -0500
    Re: how do you block the GUI repaints? Eric Douglas <e.d.programmer@gmail.com> - 2018-05-22 13:00 -0700
      Re: how do you block the GUI repaints? Eric Sosman <esosman@comcast-dot-net.invalid> - 2018-05-22 16:29 -0400
        Re: how do you block the GUI repaints? Eric Douglas <e.d.programmer@gmail.com> - 2018-05-22 13:51 -0700
          Re: how do you block the GUI repaints? Martin Gregorie <martin@mydomain.invalid> - 2018-05-22 21:41 +0000
          Re: how do you block the GUI repaints? Eric Sosman <esosman@comcast-dot-net.invalid> - 2018-05-22 18:03 -0400
            Re: how do you block the GUI repaints? Andreas Leitgeb <avl@logic.at> - 2018-05-22 22:22 +0000
              Re: how do you block the GUI repaints? Eric Douglas <e.d.programmer@gmail.com> - 2018-05-23 07:55 -0700
                Re: how do you block the GUI repaints? Eric Sosman <esosman@comcast-dot-net.invalid> - 2018-05-23 11:06 -0400
                Re: how do you block the GUI repaints? Eric Douglas <e.d.programmer@gmail.com> - 2018-05-23 08:19 -0700
  Re: how do you block the GUI repaints? Eric Sosman <esosman@comcast-dot-net.invalid> - 2018-05-22 14:43 -0400
    Re: how do you block the GUI repaints? Eric Douglas <e.d.programmer@gmail.com> - 2018-05-22 13:20 -0700
      Re: how do you block the GUI repaints? Daniele Futtorovic <da.futt.news@laposte.net> - 2018-05-22 22:47 +0200
        Re: how do you block the GUI repaints? Eric Douglas <e.d.programmer@gmail.com> - 2018-05-22 13:58 -0700
          Re: how do you block the GUI repaints? Daniele Futtorovic <da.futt.news@laposte.net> - 2018-05-23 04:30 +0200
            Re: how do you block the GUI repaints? Eric Douglas <e.d.programmer@gmail.com> - 2018-05-23 05:54 -0700
              Re: how do you block the GUI repaints? Daniele Futtorovic <da.futt.news@laposte.net> - 2018-05-23 15:58 +0200
                Re: how do you block the GUI repaints? Eric Douglas <e.d.programmer@gmail.com> - 2018-05-23 07:26 -0700
                Re: how do you block the GUI repaints? Daniele Futtorovic <da.futt.news@laposte.net> - 2018-05-23 16:30 +0200
                Re: how do you block the GUI repaints? Eric Douglas <e.d.programmer@gmail.com> - 2018-05-23 07:48 -0700
                Re: how do you block the GUI repaints? Daniele Futtorovic <da.futt.news@laposte.net> - 2018-05-23 18:46 +0200
                Re: how do you block the GUI repaints? Eric Douglas <e.d.programmer@gmail.com> - 2018-05-23 10:51 -0700
                Re: how do you block the GUI repaints? Daniele Futtorovic <da.futt.news@laposte.net> - 2018-05-23 22:35 +0200

csiph-web