Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #24314
| X-Received | by 10.224.200.202 with SMTP id ex10mr19914583qab.8.1370474854054; Wed, 05 Jun 2013 16:27:34 -0700 (PDT) |
|---|---|
| X-Received | by 10.49.40.168 with SMTP id y8mr2686109qek.9.1370474854025; Wed, 05 Jun 2013 16:27:34 -0700 (PDT) |
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!p1no2036782qaj.0!news-out.google.com!y6ni328qax.0!nntp.google.com!p1no2036774qaj.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.lang.java.programmer |
| Date | Wed, 5 Jun 2013 16:27:33 -0700 (PDT) |
| In-Reply-To | <nospam-AD9E78.16020405062013@news.aioe.org> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=172.162.130.117; posting-account=r24XpwkAAABfAJg5TJRsTScS4AL5MjOT |
| NNTP-Posting-Host | 172.162.130.117 |
| References | <566ff119-faa8-4116-9761-65002a3c1cb3@w8g2000yqf.googlegroups.com> <nospam-D730B4.16293729052013@news.aioe.org> <b838090c-9d8e-48b2-bc22-582f7c61efb4@googlegroups.com> <nospam-6B3694.21402330052013@news.aioe.org> <3e3557ff-431c-4a9f-bf7c-777eeaeb65f7@w15g2000vbn.googlegroups.com> <nospam-7A73BC.23591631052013@news.aioe.org> <653739d6-b70e-4e57-9af2-2dfaa66fec79@k4g2000yqb.googlegroups.com> <nospam-6D2463.23033403062013@news.aioe.org> <dac8d849-cae0-48df-855b-07a3c0115d1a@d10g2000yqb.googlegroups.com> <nospam-1D56F4.23042504062013@news.aioe.org> <c4f1b073-9e07-4c7a-b1ee-c41ce897f98c@a8g2000yqp.googlegroups.com> <nospam-AD9E78.16020405062013@news.aioe.org> |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <fe197e07-c44d-4852-b901-e9cd5c8478ba@googlegroups.com> (permalink) |
| Subject | Re: Code Included: Freeze column |
| From | clusardi2k@aol.com |
| Injection-Date | Wed, 05 Jun 2013 23:27:34 +0000 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | quoted-printable |
| Xref | csiph.com comp.lang.java.programmer:24314 |
Show key headers only | View raw
On Wednesday, June 5, 2013 4:02:04 PM UTC-4, John B. Matthews wrote: > In article <c4f1b073-9e07-4c7a-b1ee-c41ce897f98c@a8g2000yqp.googlegroups.com>, Haircuts Are Important <clus@aol.com> wrote: > On Jun 4, 11:04 pm, "John B. Matthews" <nos...@nospam.invalid> wrote: > > In article > > <dac8d849-cae0-48df-855b-07a3c0115...@d10g2000yqb.googlegroups.com>, > > Haircuts Are Important <clus@aol.com> wrote: > > > > > The capability that I am trying to get is this. I have two tables > > > with the right one being a lot larger than the left one. What I > > > have been attempting to do is scroll the right table vertically > > > and have the left table scroll vertically at the same time. > > > > Summarizing some of my earlier suggestions on shared models and > > timers, the sscce below illustrates how I would proceed. I've also > > used the event dispatch thread and shown an alternate approach to > > scrolling. > > > > [...] > > This appears to be useful, but I have a few improvements to ask about. > > (1) The table automatically scrolls to one less than the number of > rows in the table. It does not scroll to the last row! > > (2) When resizing the window, how do you get both tables to show more > rows. The tables show only about 25 rows and never the last row. My example starts with 100 rows, numbered 0 .. 99; added rows are numbered 42. I don't recall the numbering used in your examples. Apropos to this, I would reiterate Lew's question about your now deleted examples. As Joerg Meier helpfully observed, they can be retrieved from one's NNTP server, but you might clarify your preference. > (3 When I, myself, do begin to add more code to this project where > should I be concerned about exceptions occurring. Will adding "try- > catch" pairs get me around all exceptions. What exceptions can I > ignore. When should I use a SwingWorker. Without context, the short answers are these: don't swallow exceptions and don't block the EDT. -- John B. Matthews trashgod at gmail dot com <http://sites.google.com/site/drjohnbmatthews> Thanks for your code I think I can get the vertical scrolling to work by adding an extra row at the very top of the two tables. I'll then insert data into that empty row and create a new empty row each time after I add the data. So, the automatic vertical scrolling will never show the empty bottom row. About only showing about 25 rows. I meant to say that the scrolling works. I do see all the rows created, but the project only shows 25 at a time. So, I see 0 through 25, then 1 through 26, then 2 through 27, ..., then n through n+25. So, I was wondering if it would be possible to be able to see more than 25 rows at a time apon a resize via a mouse drag.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Code Included: Freeze column Haircuts Are Important <clusardi2k@aol.com> - 2013-05-29 12:55 -0700
Re: Code Included: Freeze column "John B. Matthews" <nospam@nospam.invalid> - 2013-05-29 16:29 -0400
Re: Code Included: Freeze column clusardi2k@aol.com - 2013-05-29 23:53 -0700
Re: Code Included: Freeze column "John B. Matthews" <nospam@nospam.invalid> - 2013-05-30 21:40 -0400
Re: Code Included: Freeze column Haircuts Are Important <clusardi2k@aol.com> - 2013-05-31 11:19 -0700
Re: Code Included: Freeze column "John B. Matthews" <nospam@nospam.invalid> - 2013-05-31 23:59 -0400
Re: Code Included: Freeze column Haircuts Are Important <clusardi2k@aol.com> - 2013-06-03 10:18 -0700
Re: Code Included: Freeze column Haircuts Are Important <clusardi2k@aol.com> - 2013-06-03 12:48 -0700
Re: Code Included: Freeze column "John B. Matthews" <nospam@nospam.invalid> - 2013-06-03 23:03 -0400
Re: Code Included: Freeze column Haircuts Are Important <clusardi2k@aol.com> - 2013-06-04 05:05 -0700
Re: Code Included: Freeze column "John B. Matthews" <nospam@nospam.invalid> - 2013-06-04 23:04 -0400
Re: Code Included: Freeze column Haircuts Are Important <clusardi2k@aol.com> - 2013-06-05 11:53 -0700
Re: Code Included: Freeze column "John B. Matthews" <nospam@nospam.invalid> - 2013-06-05 16:02 -0400
Re: Code Included: Freeze column Lew <lewbloch@gmail.com> - 2013-06-05 13:09 -0700
Re: Code Included: Freeze column clusardi2k@aol.com - 2013-06-05 16:27 -0700
Re: Code Included: Freeze column Lew <lewbloch@gmail.com> - 2013-06-05 17:35 -0700
Re: Code Included: Freeze column "John B. Matthews" <nospam@nospam.invalid> - 2013-06-06 21:42 -0400
Re: Code Included: Freeze column Haircuts Are Important <clusardi2k@aol.com> - 2013-06-10 09:34 -0700
Re: Code Included: Freeze column "John B. Matthews" <nospam@nospam.invalid> - 2013-06-10 13:49 -0400
Re: Code Included: Freeze column Lew <lewbloch@gmail.com> - 2013-06-04 12:17 -0700
Re: Code Included: Freeze column Haircuts Are Important <clusardi2k@aol.com> - 2013-06-04 12:54 -0700
Re: Code Included: Freeze column Lew <lewbloch@gmail.com> - 2013-06-04 14:17 -0700
Re: Code Included: Freeze column Joerg Meier <joergmmeier@arcor.de> - 2013-06-05 00:12 +0200
Re: Code Included: Freeze column "John B. Matthews" <nospam@nospam.invalid> - 2013-06-04 21:39 -0400
Re: Code Included: Freeze column Lew <lewbloch@gmail.com> - 2013-06-04 19:48 -0700
Re: Code Included: Freeze column Joerg Meier <joergmmeier@arcor.de> - 2013-06-05 07:36 +0200
Re: Code Included: Freeze column Lew <lewbloch@gmail.com> - 2013-06-04 22:46 -0700
Re: Code Included: Freeze column Haircuts Are Important <clusardi2k@aol.com> - 2013-05-31 11:35 -0700
Re: Code Included: Freeze column Lew <lewbloch@gmail.com> - 2013-05-31 11:43 -0700
Re: Code Included: Freeze column Haircuts Are Important <clusardi2k@aol.com> - 2013-05-31 11:50 -0700
Re: Code Included: Freeze column Lew <lewbloch@gmail.com> - 2013-05-31 12:37 -0700
Re: Code Included: Freeze column Haircuts Are Important <clusardi2k@aol.com> - 2013-05-31 12:44 -0700
Re: Code Included: Freeze column Haircuts Are Important <clusardi2k@aol.com> - 2013-05-31 12:30 -0700
csiph-web