Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #38282
| From | Eric Sosman <esosman@comcast-dot-net.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: how do you block the GUI repaints? |
| Date | 2018-05-23 11:06 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <pe402e$5m9$1@dont-email.me> (permalink) |
| References | (3 earlier) <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> |
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
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