🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #8606

Re: How sort by rows in a jTable

#8606
From: Andreas Schnell
Date: Wed, 02 Aug 2000 00:00
18 lines
1172 bytes
"teppei" <admin@unnmei.com> schrieb im Newsbeitrag
news:3987864D.83E326A8@unnmei.com...
> i just started programming in Java  and i want to know
> how to sort a jtable by rows,alphabetically. For example i have
> a Table with 10 rows and 10 columns and i want to sort the rows
> alphabetically considering the string in cells. I would be extremely
> happy about
> a code example.

Hi,

check this site http://www2.gol.com/users/tame/. You can find there some
real good examples who to operate with JTables. You can also use the
JDK-Tutorial in the Java-Dokumentation of Java 1.3 using JTables.


Andreas Schnll
Technical Details
Message-ID: <3987bf6e$1_2@dnews>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3987864D.83E326A8@unnmei.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,43a9f7f583cae993
X-Google-Attributes: gid111d45,public
From: "Andreas Schnell" <Andreas.Schnell@innovations.de>
Subject: Re: How sort by rows in a jTable
Date: 2000/08/02
Message-ID: <3987bf6e$1_2@dnews>
X-Deja-AN: 653508618
References: <3987864D.83E326A8@unnmei.com>
X-Trace: 1 Aug 2000 23:27:58 -0800, 194.123.233.30
X-MSMail-Priority: Normal
X-Priority: 3
Newsgroups: borland.public.jbuilder.java.swing
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600