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


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

Re: Sort a jtable within code

Received by 10.224.111.8 with SMTP id q8mr30965qap.3.1347547992208; Thu, 13 Sep 2012 07:53:12 -0700 (PDT)
Received by 10.236.170.7 with SMTP id o7mr225642yhl.3.1347547992128; Thu, 13 Sep 2012 07:53:12 -0700 (PDT)
Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!v8no2305824qap.0!news-out.google.com!da15ni3445qab.0!nntp.google.com!v8no2305818qap.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.java.programmer
Date Thu, 13 Sep 2012 07:53:12 -0700 (PDT)
In-Reply-To <9dbcfe66-1325-4de2-96d4-649331ceccba@googlegroups.com>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=198.151.13.60; posting-account=r24XpwkAAABfAJg5TJRsTScS4AL5MjOT
NNTP-Posting-Host 198.151.13.60
References <114c9b7c-7ed8-4f59-aa46-c7480a677be7@googlegroups.com> <nospam-03FC5A.21124012092012@news.aioe.org> <f8e3b99f-0790-4d51-a25d-fef63576a936@googlegroups.com> <9dbcfe66-1325-4de2-96d4-649331ceccba@googlegroups.com>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <f02ef12b-6c41-4e29-aa81-4e92a52fc068@googlegroups.com> (permalink)
Subject Re: Sort a jtable within code
From clusardi2k@aol.com
Injection-Date Thu, 13 Sep 2012 14:53:12 +0000
Content-Type text/plain; charset=ISO-8859-1
X-Received-Bytes 1586
Xref csiph.com comp.lang.java.programmer:18737

Show key headers only | View raw


On Thursday, September 13, 2012 1:59:01 AM UTC-4, (unknown) wrote:
> I've solved this problem. Do you want the details.

http://www.java.net/node/698343

RowSorter sorter = getRowSorter();
List sortKeys = new ArrayList();
sortKeys.add(new RowSorter.SortKey(0, SortOrder.ASCENDING));
sorter.setSortKeys(sortKeys);

Thanks,

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


Thread

Sort a jtable within code clusardi2k@aol.com - 2012-09-12 06:25 -0700
  Re: Sort a jtable within code Martin Gregorie <martin@address-in-sig.invalid> - 2012-09-12 19:39 +0000
  Re: Sort a jtable within code Arne Vajhøj <arne@vajhoej.dk> - 2012-09-12 20:48 -0400
  Re: Sort a jtable within code "John B. Matthews" <nospam@nospam.invalid> - 2012-09-12 21:12 -0400
    Re: Sort a jtable within code Lew <lewbloch@gmail.com> - 2012-09-12 22:51 -0700
      Re: Sort a jtable within code clusardi2k@aol.com - 2012-09-12 22:58 -0700
        Re: Sort a jtable within code clusardi2k@aol.com - 2012-09-13 07:53 -0700
      Re: Sort a jtable within code "John B. Matthews" <nospam@nospam.invalid> - 2012-09-13 23:58 -0400

csiph-web