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


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

Re: Fixed row table

Newsgroups comp.lang.java.programmer
Date 2017-10-30 04:49 -0700
References <9c0544b7-72d4-4125-8f50-d7d0fb1a8aab@googlegroups.com> <ot0dv5$1mlb$1@gioia.aioe.org>
Message-ID <a54508c4-658a-4ef4-8b71-2257d4bbef65@googlegroups.com> (permalink)
Subject Re: Fixed row table
From Eric Douglas <e.d.programmer@gmail.com>

Show all headers | View raw


On Friday, October 27, 2017 at 7:03:12 PM UTC-4, Arne Vajhøj wrote:
> On 10/27/2017 3:20 PM, Eric Douglas wrote:
> > What's the best way to link an SSCCE to a thread?  I wrote one but
> > probably shouldn't paste the test class inline, it's 500+ lines so
> > far..
> 
> First: I am highly skeptical about a SSCCE needing to be 500+ lines.
> Either it is am extremely complex problem or you have just taken the
> real code as is without removing all the fluff so only the necessary
> is left.
> 
> So please check if you can reduce the example in size.
> 
> If that is not possible then you can either just post the 500
> lines or upload it to some internet service and post a link here.
> 
> Arne

500 lines is fairly short for what this is.
My problem here is how to get the row selection model.  I combined 2 tables to make a fixed row table.  The bottom one is scrollable, the top one is not.  Now I need the 2 tables to share, so if we set single row selection mode you can only select one row between the 2 of them, and if the top table has 2 rows and we call setSelectedRow(2) it should select the first row of the second table...

https://pastebin.com/zrUESqc4

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


Thread

Fixed row table Eric Douglas <e.d.programmer@gmail.com> - 2017-10-27 12:20 -0700
  Re: Fixed row table Arne Vajhøj <arne@vajhoej.dk> - 2017-10-27 19:03 -0400
    Re: Fixed row table Arne Vajhøj <arne@vajhoej.dk> - 2017-10-27 19:04 -0400
    Re: Fixed row table Eric Douglas <e.d.programmer@gmail.com> - 2017-10-30 04:49 -0700
      Re: Fixed row table Eric Douglas <e.d.programmer@gmail.com> - 2017-10-31 13:20 -0700
  Re: Fixed row table Joerg Meier <joergmmeier@arcor.de> - 2017-10-28 23:33 +0200

csiph-web